Hi I have installed Ubuntu 8.10 LTS ver. want to set as router. I am having static ip on eth0 and private ip on eth1 /etc/networks/interfaces #primary interface autho eth0 address subnet xxx xxx xx # secondary interface address 192.168.0.2 subnet 255.255.255.0 network 192.168.0.0 broadcast x.x.x. saved /etc/sysctl.conf forwarding set as 1 when i restart networking service i am getting error sudo /etc/init.d/networking restart * Reconfiguring network interfaces... postconf: fatal: open /etc/postfix/main.cf: No such file or directory SIOCADDRT: File exists Failed to bring up eth0. * if-up.d/mountnfs[eth1]: waiting for interface eth0 before doing NFS mounts postconf: fatal: open /etc/postfix/main.cf: No such file or directory [ OK ] can't distribute internet......! can anybody guide me.........!
I am setting this server first time. I have change file vi /etc/network/interfaces in this file i have set eth0 with static ip supplied by ISP with DNS. for second interface eth1 i have assign private ip address 192.168.0.2 subnet 255.255.255.0 network 192.168.0.0 broadcast 192.168.0.255 than i have saved and restart networking service. than i have change /etc/sysctl.conf ip4_....... = 1 for working as Router. again restarted service. Now on client pc i have set ip address and gw as 192.168.0.2 i am not able to access internet. on server i can ping google.com or anyother site. Please help me if u can to set as gateway server.
I am setting Ubuntu 8.10LTs server first time, but i can access internet on server. I want to set server as a router.
Hello, I believe you want to setup something like this: http://www.howtoforge.com/nat-gateway-iptables-port-forwarding-dns-and-dhcp-setup-ubuntu-8.10-server Take a look at this howto and you should be good to go. However, I don't think that setting up server as router is directly associated with ISPConfig somehow. Or are you using ISPConfig on the same server?