LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Accessing An External VPN Server from NAT'd Network (https://www.linuxquestions.org/questions/linux-networking-3/accessing-an-external-vpn-server-from-natd-network-63524/)

dmarien 06-03-2003 08:35 PM

Accessing An External VPN Server from NAT'd Network
 
Hey.

My dad want's to connect to his VPN server at Work, from his Dell on my Linux NAT'd network.

It doesn't work though.

So, I'm assuming I need to forward ports, and whatnot.

Can someone please tell me what I need to forward, and the command req'd to do so?

Robert0380 06-04-2003 01:05 AM

well, to forward ports in iptables you would use DNAT:


iptables -A PREROUTING -t nat -p tcp --dport 80 -j DNAT -to 192.168.1.100

this example says: any incomming bound for port 80, send it to private ip 192.168.1.100. ..... oh, protocol = tcp.


All times are GMT -5. The time now is 01:28 PM.