Hi,
I am getting stuck to configure a linux box in front on the Untangle to passmy VPN Traffix
My Config :
Internet traffic 1 for VPN --| Linux Router|
Internet 2 Web, and other --| with Iptable |--| Untangle Box |--|My Network
I configure VPN Server on my Untangle Box, and I want to forward the traffix from my Internet Connection 1 to Untangle with a masq from the Public ip 1, but without success :-(
Details Config :
Eth0 (internet Connection 1) Public IP : 203.X.X.58/29
Eth1 (Connect to Untangle) : 10.0.0.1/24
Eth 2 (connection Internet 2)
Untangle : IP 10.0.0.2/24
Iptables Rules for VPN on my Linux Box
If I do telnet from a vpn client to telnet 203.X.X.58 1194 : I have no reply :-(Code:echo "autorise port 1194" iptables -A INPUT -i eth0 -p udp --dport 1194 -j ACCEPT iptables -A OUTPUT -o eth0 -p udp --sport 1194 -j ACCEPT # Translate VPN data (port 1194) to Untangle echo "Nat Translation for VPN " iptables -t nat -A PREROUTING -i eth0 -p udp --dport 1194 -j DNAT --to 10.0.0.2 iptables -t nat -A POSTROUTING -o eth0 -p udp --sport 1194 -j SNAT --to 203.X.X.58
Thanks for your help.