Networking Forums

Networking Forums > Computer Networking > Linux Networking > pptp connection over different port then 1723 ?

Reply
Thread Tools Display Modes

pptp connection over different port then 1723 ?

 
 
Mark Dammer
Guest
Posts: n/a

 
      01-26-2005, 11:28 AM
I want to set up a pptp tunnel using a port different from 1723. This is
needed as this port is already used on our internet router by another
tunnel (for a company to log in for system maintenance).
I tried to "DNAT" from 1723 to another port on the client and vice versa
on the server, plus a rule on each side to route the GRE protocol. The
system tries to log in, but does not get a connection (GRE errors in the
logfile).
Is there any way to solve this problem ?

Here are my rulesets:

on the gateway $PPTPGATEWAY:

$PPTPGATEWAY sits behind a Netgear ADSL router with port 5610 forwarded
to it. Port 1723 is forwarded to another system as described above.

$IPTABLES -t nat -A PREROUTING -i $EXT \
-p TCP --dport $OTHERPORT -j DNAT --to $PPTPSERVER:1723
$IPTABLES -t nat -A PREROUTING -i $EXT -p GRE -j DNAT --to $PPTPSERVER

on the client:

$IPTABLES -t nat -A PREROUTING -i $INT \
-p TCP --dport pptp \
-j DNAT --to $PPTPGATEWAY:5610
$IPTABLES -t nat -A PREROUTING -i $INT \
-p GRE -j DNAT --to $PPTPGATEWAY


Mark Dammer
 
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
new rras PPTP port added and then desappeared Livia Windows Networking 2 03-17-2009 01:28 PM
Wan MinI port for (pptp) no starting Help me Windows Networking 1 02-11-2009 03:25 PM
Port 1723 john Windows Networking 3 01-31-2006 11:59 AM
pptp port question TC Windows Networking 6 01-03-2006 02:57 AM
Port 1723 Vulnerability? Chris Burson Wireless Networks 2 01-22-2005 10:06 AM



1 2 3 4 5 6 7 8 9 10 11