LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-13-2013, 03:11 AM   #1
rjdbarsal
LQ Newbie
 
Registered: Jun 2013
Posts: 23

Rep: Reputation: Disabled
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.
 
Old 08-13-2013, 05:31 PM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
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?
 
  


Reply

Tags
iptables, nat, networking, router, server



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] OpenVPN in bridge mode cutting access to web (Server with 3 NICs acting as router) Joaquim Almeida Linux - Networking 1 09-10-2012 12:12 AM
Prism54 ISL3890 Not going into master mode for use as Wireless router on Ubuntu D/t Geneset Linux - Wireless Networking 3 07-16-2008 10:35 AM
triple-homed ubuntu server proxy/router acting as a fallback gateway mhykgyver Linux - Networking 1 12-10-2007 05:42 PM
Router in bridge mode, fc6 Zyt3x Linux - Networking 4 08-25-2007 04:02 AM
help with router Beidge mode ankit_mcgill Linux - Networking 2 10-31-2005 11:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:42 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration