Networking Forums

Networking Forums > Computer Networking > Linux Networking > VPN forwarding

Reply
Thread Tools Display Modes

VPN forwarding

 
 
Roman Lobus
Guest
Posts: n/a

 
      12-05-2003, 02:00 PM
Hi, All

I have problem with forwarding VPN connection on linux box.
So, topology of connections are
1.1.1.1 2.2.2.2
Client---->Linux box---->Windows VPN server

I need in forwarding VPN connection to Windows server via linux box.

I'm newbie in iptables (

Such commands couldn't help me
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j DNAT --to
2.2.2.2
iptables -t nat -A PREROUTING -i eth0 -p 47 -j DNAT --to 2.2.2.2

Can anybody help me?

Thanks in advance,
Roman Lobus

 
Reply With Quote
 
 
 
 
Michael
Guest
Posts: n/a

 
      12-05-2003, 11:20 PM
If you have, like I do, a default of drop on the forward chain you may have
to also accept these ports explicitly earlier in the chain.

Also if the clients are XP based they will have to have the latest patches
installed.

I was not able to get windows 98 clients to work at all throught the linux
router, however they were able to connect internally. This problem may have
had something to do with the user's patchlevel but I could not fix it. Its
difficult to know what patches you have to reinstall after installing the
VPN interface and the Microsoft site does not do it automagically.

Do not apply the VPN patch to the linux kernel. This patch assumes the
connection is initiated from your internal network (i.e. it assumes the
client is on your internal network and you are connecting to a VPN outside)
when you actually want the opposite. Without the patch you can have one
uncoming connection or one ougoing connection at a time. With the patch you
can have multiple outgoing connections at once but no incoming connections.

Thats about all I can suggest (although it took me four months to get it to
go)

HTH

"Roman Lobus" <(E-Mail Removed)> wrote in message
news:bqq6hj$cp$(E-Mail Removed)...
> Hi, All
>
> I have problem with forwarding VPN connection on linux box.
> So, topology of connections are
> 1.1.1.1 2.2.2.2
> Client---->Linux box---->Windows VPN server
>
> I need in forwarding VPN connection to Windows server via linux box.
>
> I'm newbie in iptables (
>
> Such commands couldn't help me
> iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 1723 -j

DNAT --to
> 2.2.2.2
> iptables -t nat -A PREROUTING -i eth0 -p 47 -j DNAT --to 2.2.2.2
>
> Can anybody help me?
>
> Thanks in advance,
> Roman Lobus
>



 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Ip forwarding InuY4sha Linux Networking 9 01-08-2008 10:16 AM
IP forwarding without NAT balzano_1@yahoo.com Linux Networking 2 09-17-2007 07:25 AM
X forwarding over ssh -- how? Robert Latest Linux Networking 2 07-15-2005 10:53 AM
IP forwarding on NT4 Andy Williams Windows Networking 11 12-22-2004 02:33 PM
ssh/scp forwarding ??? Ben Linux Networking 11 09-29-2004 08:51 PM



1 2 3 4 5 6 7 8 9 10 11