![]() Thinks about OS Linux Ubuntu | Ubuntu Tutorials |
HOW TO MAKE MONEY by INTERNET![]() |
||||
Ubuntu as a Router PC |
|||||
-- by pressing the letter i add the following line -- ## ISP Connection
with a step ping yahoo.com and if the reply is the connection to the Internet was ok and continue to update and upgrade ubuntu : root@server:~# aptitude update && aptitude upgrade For the next step after the update and upgrade is finished editing the sysctl.conf file: root@server:~# vim /etc/sysctl.conf by pressing the letter i find writing #net.ipv4.conf.default.forwarding = 1 and remove the fence that marks the net.ipv4.conf.default.forwarding = 1 save by pressing :wq and Enter Edit the file ip_forward the valuabe 0 fox into 1 with the following steps: root@server:~# echo "1" > /proc/sys/net/ipv4/ip_forward Next we have to make the routing of eth 1 (LAN) to the eth0 (ISP / WAN), it is intended to allow LAN users can communicate with the outside world (the Global Internet), with the command: root@server:~# /sbin/iptables -t nat -A POSTROUTING -s 192.168.1.0/255.255.255.0 -d 0/0 -j MASQUERADE Do not forget to save the command script we have made earlier in the rc.local, it is intended that when the computer is restarted the server then automatically orders we have made can be run by the server computer: root@server:~# Vim /etc/rc.local -- by pressing the letter i add the following line --
echo "1" > /proc/sys/net/ipv4/ip_forward Computer server restart: root@server:~# reboot |
SITE
ARCHIVE
|
||||
![]() Thinks about OS Linux Ubuntu | Ubuntu Tutorials Copyright©2009 | UdiniqGeek.com - Thinks about OS Linux Ubuntu -
Ubuntu Tutorials | Contact Us
| :: RSS |
![]() |
|||||