Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 06-03-2003, 08:35 PM   #1
LQ Newbie
Registered: Jun 2003
Posts: 1

Rep: Reputation: 0
Accessing An External VPN Server from NAT'd Network


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?
Old 06-04-2003, 01:05 AM   #2
LQ Guru
Registered: Apr 2002
Location: Atlanta
Distribution: Gentoo
Posts: 1,280

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

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

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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem with accessing other network server when connected from a dial-in server radatan71 Linux - Networking 0 11-22-2005 02:20 AM
VPN behind NAT'd / MASQ'd in RHL 9 possible bl33k Linux - Networking 0 07-25-2004 04:00 PM
Accessing server behind router :: setting up network slackwarefan Linux - Networking 7 06-03-2004 04:14 PM
linux Server not working behind NAT'd Sonciwall firewall jnassour Linux - Networking 1 11-13-2003 07:37 PM
accessing box from internal network but not from external JereBear Linux - Networking 12 05-12-2001 01:12 AM

All times are GMT -5. The time now is 09:14 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration