Linux can be easily configured to share an internet connection using iptables. All you need to have is, two network interface cards as follows: a) Your internal (LAN) network connected via eth0 with static ip address 192.168.0.1 b) Your external WAN) network is connected via eth1 with static ip address 10.10.10.1 ( public IP provided by ISP ) Please note that interface eth1 may have public IP address or IP assigned by ISP. eth1 may be connected to a dedicated DSL / ADSL / WAN / Cable router: Step # 1: Enable Packet Forwarding Login as the root user. Open /etc/sysctl.conf file # vi /etc/sysctl.conf Add the following line to enable packet forwarding for IPv4: net.ipv4.conf.default.forwarding=1 Save and close the file. Restart networking: # service network restart Step # 2: Enable IP masquerading In Linux networking, Network Address Translation (NAT) or Network Masquerading (IP Masquerading) is a technique of transceivin
My name is Patricia Moura and I am offering publiposts to sites.
ReplyDeleteThe sponsor is always some kind of lottery and the subject of the article is about the things that you write in your site.
The unpublished article has 350 words, 3 links (one is the sponsor) and 1 or 2 pictures.
If you would like to get the article, send me an email.
Have a nice day.
patsmoura-40@outlook.com
ReplyDeleteI like your blog, I find it very useful and informative, thank you for your work!
Richard Brown secure dataroom