Hi,
I'm trying to set up portforwarding for M$ VPN (PPTP) to an internal
server 192.168.1.24
So far I figured the following:
# Indexed list: "SrcAddr/Mask port [ DestAddr[/DestMask] ]"
#EXTERN_TCP_PORT0="5.6.7.8 domain 1.1.1.12"
#EXTERN_TCP_PORT1="0/0 www"
EXTERN_TCP_PORT0="0/0 smtp" #SMTP (E-Mail)
EXTERN_TCP_PORT1="0/0 ssh" #Secure Shell
EXTERN_TCP_PORT2="0/0 1723 192.168.1.24/32" #Microsoftp PPTP
# Indexed list: "Protocol SrcAddr/Mask [ DestAddr[/DestMask] ]"
#EXTERN_PROTO0="50 5.6.7.8/32"
#EXTERN_PROTO1="51 5.6.7.8/32"
EXTERN_PROTO0="47 0/0 192.168.1.24/32" # GRE
INTERN_PPTP_SERVER=192.168.1.24 # Internal M$ PPTP server to make available
# Advanced settings: parameters passed directly to portfw and autofw
# Indexed list: "<ipmasqadm portfw options>"
#INTERN_SERVER0="-a -P PROTO -L LADDR LPORT -R RADDR RPORT [-p PREF]"
#INTERN_SERVER1=""
INTERN_SERVER0="-a -P tcp -L ${EXTERN_IP} 1723 -R ${INTERN_PPTP_SERVER} 1723"
But from previous messages on the list I�ve seen this rules:
1)ipchains -A input -s 0/0 -d $IP_EXT/32 1723 -p tcp -l -j ACCEPT
2)ipchains -A input -s 0/0 -d $IP_EXT/32 -p 47 -j ACCEPT
3)ipmasqadm portfw -a -P tcp -L $IP_EXT 1723 -R $PPTP_HOST 1723.
4)ipfwd --masq $PPTP_HOST 47 &
I understand that 1), 2) and 3) are under control.
But...
How do I set up 4) within network.conf???
Thanks for your help
Sergio D. Morilla
Sistemas
Tipoiti SATIC
San Mart�n 647 Piso 2 Tel. : +54 11 4314-4482
C1004AAM - Buenos Aires Fax : +54 11 4508-6425
Argentina e-mail [EMAIL PROTECTED]
_______________________________________________
Leaf-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user