Re: How to set a host with public IP within a private network?

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I did this and apparently, it works:
1) I set up proxy arp for the internal and the
external NICs:
echo 1 > /proc/sys/net/ipv4/conf/$EXT1/proxy_arp
echo 1 > /proc/sys/net/ipv4/conf/$INT1/proxy_arp

EXT1=eth0;INT1=eth1

then:
ip route add $IP dev $INT1
where IP=81.196.157.254

and from the Internet:
ping 81.196.157.254
i get replys.

i set on 81.196.157.193 (WinXP) this:
IP addres: 81.196.157.254 netmask 255.255.255.192 gw
192.168.101.1 (router's internal ip)



		
__________________________________ 
Yahoo! Mail for Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux