Date: Thu, 12 Jun 2003 18:34:49 gmt From: "Guilherme Oliveira" <guilherme@nortenet.pt> To: freebsd-isp@freebsd.org Subject: [help] adsl with fixed ip's + natd Message-ID: <3ee8b9b9.685c.0@nortenet.pt>
next in thread | raw e-mail | index | archive | help
Hi ! I'm having some problems configuring my DMZ with adsl fixes ip's. My ISP give to me 1 ip for the connection fase (213.13.123.140) and others ip for my netroking needs (213.13.121.72/29) My modem connects very well (looking ppp.log), I was pinging once but didn't nat. Now it does nothing ! dmesg shows: natd: tun0: Cannot get interface address pinging some valid ip from internet: ping: no route to host netstat -nr Destination Gateway Flags Refs Use Netif Expire 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0 link#2 UC 0 0 xl1 192.168.1 link#3 UC 0 0 xl2 213.13.121.74/32 link#1 UC 0 0 xl3 ppp.conf: default: set device PPPoE:xl0 set speed sync set mru 1492 set mtu 1492 set ctsrts off enable lqr set log phase tun set ifaddr 213.13.123.140 213.13.121.73 255.255.255.248 add default HISADDR enable dns isp: set authname USERNAME set authkey PASSWORD rc.conf: firewall_enable="YES" firewall_type="open" natd_enable="YES" natd_interface="tun0" ifconfig_xl0="up" ifconfig_xl1="inet 192.168.0.1 netmask 255.255.255.0" # desktop network ifconfig_xl2="inet 192.168.1.1 netmask 255.255.255.0" # server network ifconfig_xl0_alias0="inet 213.13.121.74 netmask 255.255.255.255" # for port forward to 192.168.1.2 ifconfig_xl0_alias1="inet 213.13.121.75 netmask 255.255.255.255" # for port forward to 192.168.1.3 ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="isp" defaultrouter="NO" static_routes="" gateway_enable="YES" router_enable="NO"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3ee8b9b9.685c.0>