Visit Jeremy's Blog.
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 12-24-2003, 10:53 PM   #1
Registered: Apr 2003
Location: Connecticut, USA
Distribution: Gentoo Ubuntu
Posts: 69

Rep: Reputation: 15
routing a VPN with nat

i am running a nat router. when connecting to an outside VPN i have problems mapped drives do not seem to be working as with various other things any help...

here is my script:
modprobe iptable_nat

iptables -t nat -A POSTROUTING -o ppp0 -j MASQUERADE

echo 1 > /proc/sys/net/ipv4/ip_forward
Old 12-25-2003, 01:01 PM   #2
Senior Member
Registered: Feb 2002
Location: Szczecin, Poland
Distribution: Gentoo, Debian
Posts: 2,458

Rep: Reputation: 48
What machine is using what software pls?
Old 12-29-2003, 10:57 AM   #3
Senior Member
Registered: Dec 2000
Location: Gothenburg, SWEDEN
Distribution: OpenSUSE 10.3
Posts: 1,028

Rep: Reputation: 45
Keep in mind that the IPSEC protocol has trouble passing a NAT since the IPSEC protocol doesn't have any service port information. Service ports are what a NAT use to direct the traffic to the right local machine.
Old 12-31-2003, 10:34 AM   #4
LQ Newbie
Registered: Aug 2003
Posts: 10

Rep: Reputation: 0
What VPN software are you using ? I recommend vtun if you have linux on each end of the vpn


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
vpn behind nat base7 Linux - Networking 2 11-17-2005 11:21 PM
Two-way NAT routing MPowers Linux - Networking 3 06-24-2005 04:24 PM
routing through nat booyah Linux - Networking 3 01-17-2004 09:40 PM
real routing under nat routing nothingmuch Linux - Networking 4 10-27-2003 04:11 PM
Routing and nat Morning_Star Linux - Networking 5 02-11-2003 12:31 PM > Forums > Linux Forums > Linux - Networking

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

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