Re: ebtables on a stick
From: Michal Soltys <hidden>
Date: 2011-12-02 15:40:12
On 11-12-01 17:56, Greg Scott wrote:
quoted
# ip -4 a l eth0; ip r l match 0.0.0.0; ip r l exact 10.255.255.1 2: eth0:<BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000 inet 87.106.131.203/32 scope global eth0 default via 10.255.255.1 dev eth0 10.255.255.1 dev eth0 scope link
Aside from addresses, same config I had when I was on adsl.
Wow, how does that even work? Every time I think I know something, I get challenged. I should make that a slogan. - Greg
BTW: You should be able to avoid whole proxy thing altogether (on your router), by doing: ip add add 1.2.115.157/32 dev eth0 ip ro del table local 192.168.99.5/32 dev eth0 ip route add 1.2.115.157/32 dev eth1 instead of: ip neigh add proxy 1.2.115.157 dev eth0 The former will still expose the address, but it will be not routable inside the router, so will get passed to your internal host. (this assumes your kernel is compiled with advanced routing).