Originally Posted by
wirespot
When the bootup procedure calls the post-firewall script, it gives it 4 parameters. The first two IIRC are the internal and external interface names of the router, and the 3rd and 4th are the internal and external IP addresses.
It sends these params because usually you will need to know them to use iptables.
If you did that last line of post-firewall then look into /usr/local/root/param.log and you will see what the params look like, that's why I put it there.
ok, thank you for the prompt response
in my log file i have:
Code:
ppp0 79.116.2xx.*** br0 192.168.10.254 vlan2 10.10.0.218
ppp0 is my external IP
br0 is my internal IP
vlan2 i don't know fot what it stands for !? - i suppose is the temporary IP assigned by ISP. Any thoughts ?
my ISP indicated 10.0.0.1 as gateway
my ISP indicated 193.231.189.19 as DNSs
the important parts of the log from the router are:
Code:
Jan 1 02:00:05 kernel: klogd started: BusyBox v1.17.4 (2010-12-04 23:42:06 CET)
Jan 1 02:00:06 dnsmasq-dhcp[215]: DHCP, IP range 192.168.10.200 -- 192.168.10.215, lease time 3h
Jan 1 02:00:06 dnsmasq[215]: read /etc/hosts - 7 addresses
Jan 1 02:00:06 dnsmasq-dhcp[215]: read /etc/ethers - 5 addresses
Jan 1 02:00:08 dnsmasq[215]: using nameserver 193.231.189.19#53
Jan 1 02:00:08 dhcp client: bound IP : 10.10.0.218 from
Jan 1 02:00:09 pppd[324]: Plugin rp-pppoe.so loaded.
Jan 1 02:00:09 pppd[324]: RP-PPPoE plugin version 3.10 compiled against pppd 2.4.5
Jan 1 02:00:09 pppd[325]: pppd 2.4.5 started by admin, uid 0
Jan 1 02:00:09 pppd[325]: PAP authentication succeeded
Jan 1 02:00:09 pppd[325]: peer from calling number 00:14:5E:95:FB:3F authorized
Jan 1 02:00:09 pppd[325]: local IP address 79.116.2xx.***
Jan 1 02:00:09 pppd[325]: remote IP address 10.0.0.1
Jan 1 02:00:09 pppd[325]: primary DNS address 193.231.189.18
Jan 1 02:00:09 pppd[325]: secondary DNS address 193.231.189.19