Date: Wed, 5 Sep 2001 04:41:44 +0200 From: "Dennis Berger" <HypnotiZer@gmx.net> To: <freebsd-questions@freebsd.org> Subject: ppp internal NAT - transparent proxy problem Message-ID: <000501c135b4$4cee0fe0$650110ac@nachpolierer>
next in thread | raw e-mail | index | archive | help
Hi here is what i want to do A connection out to port 21 should be redirected to 127.0.0.1 port 2370 so I added the following line to my ppp.conf "nat proxy port 21 server 127.0.0.1:2370 src 172.16.0.0/16" if I watch lo0 with tcpdump nothing comes in ... and proxying doesn't work at all, but why ? here is my complete ppp.conf -------------------------- default: set log Phase Chat LCP IPCP CCP tun command set redial 15 65536 set reconnect 15 65536 nat enable yes nat log yes nat deny_incoming no #nat punch_fw 500 100 nat use_sockets yes nat same_ports yes nat port tcp 172.16.1.101:4000 4000 nat port tcp 172.16.1.1:80 80 nat port tcp 172.16.1.1:443 443 nat proxy port 21 server 127.0.0.1:2370 src 172.16.0.0/16 disable iface-alias pppoe: set device PPPoE:rl0: set mru 1492 set mtu 1492 set speed sync enable lqr set lqrperiod 5 set cd 5 set dial set login set timeout 0 set authname XXXX set authkey XXXXX set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR ------------------------------ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000501c135b4$4cee0fe0$650110ac>