I am currently running a Linux Firewall with NAT. I can't get OUTGOING VPN traffic to work. I am using IPTABLES for my incoming VPN traffic to an internal server, that works fine. Can anyone help? Here are the iptables commands for my forwarding to the internal VPN server. This is for people outside the location to VPN into. Our people also need to VPN to an external VPN server, not VPN server - VPN server.
iptables -t nat -A PREROUTING -p udp -d 22.214.171.124 --dport 1701 -j DNAT --to 192.168.1.2:1701
iptables -t nat -A PREROUTING -p udp -d 126.96.36.199 --dport 1723 -j DNAT --to 192.168.1.2:1723
iptables -A PREROUTING -t nat -p gre -d 188.8.131.52 -j DNAT --to 192.168.1.2