Proxy arp and 1:1 NAT

Posted by daniel4er on Server Fault See other posts from Server Fault or by daniel4er
Published on 2012-08-28T01:19:00Z Indexed on 2012/08/28 3:40 UTC
Read the original article Hit count: 631

Filed under:
|
|
|

I have a Linux router with 2 NICs doing masquerade from network 192.168.0.0/24 to an ADSL router.

users <----> NIC A [router] NIC B <----> INTERNET

Now I'm experimenting with proxy arp on the NIC A to intercept all the IP requests in the network.

I have a pool of addresses in the 192.168.0.0/24 network for this users.

How can I translate, saythe IP10.0.0.64to192.168.0.64` in order to grant it internet access?

I have already tried SNAT - DNAT, even I have written a NFQUEUE app to spoof the IP address with no luck.

© Server Fault or respective owner

Related posts about linux

Related posts about iptables