Skip to contentSkip to conversation

GRE/PPTP and modules

DISCUSSION Jochen Vogel 2 participants 2 messages Apr 29, 2004

lore
Share & tools
lore
#0 lore raw

Hi,

I did the following
$IPT -t nat -A PREROUTING -d <firewall> -p tcp --dport 1723 -i $EXT -j DNAT --to-destination <vpn>:1723
$IPT -t nat -A PREROUTING -d <firewall> -p gre -i $EXT -j DNAT
--to-destination <vpn>
$IPT -A FORWARD -i $EXT -o $RAS -d <vpn> -p TCP --dport 1723 -m state --state NEW -j ACCEPT
$IPT -A FORWARD -i $EXT -o $RAS -d <vpn> -p GRE -m state
--state NEW -j ACCEPT

Do i need any modules?

Thx for infos
jo

#1 lore raw

Le jeu 29/04/2004 à 16:47, Jochen Vogel a écrit :
[PPTP/GRE rules]

Quoted 1 line

Do i need any modules?

Yes. you need GRE and PPTP conntrack modules (PPTP conntracking depends on GRE conntracking) :

ip_conntrack_proto_gre
ip_conntrack_pptp

If you use NAT, you'll need additional modules as well :

ip_nat_proto_gre
ip_nat_pptp

Signature · 2 lines
http://www.netexit.com/~sid/
PGP KeyID: 157E98EE FingerPrint: FA62226DA9E72FA8AECAA240008B480E157E98EE
Quoted 2 lines
Quoted 2 lines

Hi! I'm your friendly neighbourhood signature virus. Copy me to your signature file and help me spread!