LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Ubuntu server router as gateway mode to router mode? (https://www.linuxquestions.org/questions/linux-networking-3/ubuntu-server-router-as-gateway-mode-to-router-mode-4175473206/)

rjdbarsal 08-13-2013 03:11 AM

Ubuntu server router as gateway mode to router mode?
 
based on this sample guide link:
http://ubuntulinux.co.in/blog/ubuntu...les-in-ubuntu/

with this code:

Code:

iptables –append FORWARD –in-interface eth1 -j ACCEPT
it means that "All PC’s on the private office network should set their “gateway” to be the local private network IP address of the Linux gateway computer."

How can we make our ubuntu server router gateway mode to router mode? In order our private networks is visible from other networks or different subnet.

Ser Olmy 08-13-2013 05:31 PM

I'm sorry, but it's next to impossible to understand exactly what you're asking here. I could make some guesses, but I'd probably be wrong. Your description of the iptables command doesn't really make sense either.

Perhaps you could try and explain exactly what you want to accomplish? Is the Ubuntu system to be a router between different IP networks? Does the setup involve Internet connectivity? Perhaps you could post a network diagram?


All times are GMT -5. The time now is 06:11 AM.