LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 07-10-2003, 08:01 AM   #1
palhope
LQ Newbie
 
Registered: Jul 2003
Posts: 1

Rep: Reputation: 0
iptables and routing


hi ,
am tired of thes problem, i hope i can find any help.
i have 2 LAN, connected by fraction t1 line, NOS is windows NT 4,,
i establish trust relationship between the 2 domain , so i can share file, and manage the user account and right form offic A. in office A i have internet service , i build firewall and add squid to work as transpernt proxy, think is ok, the point is , i want officeB be to have internet through office A, so i would connect the router2 to the firewall , the figer below show whate i want to accomplish.
isp
|
| fractional t1 line
|
router 1
|
firewall ---------- router 2------fractional t1 line ---router , my office B lan
| 192.168.11.0/24
|
my offic A lan 192.168.10.0/24

same time i have
#keep the trust between the 2 site
#be able to manage the bandwidth of internet service ' give office B 30% of the total bandwith

please if any one have any idea send me,
thank you all
best regard.
 
Old 07-10-2003, 12:42 PM   #2
deanrantala
Member
 
Registered: Apr 2003
Distribution: Mandrake 9.1/slack 9.0/BSD
Posts: 30

Rep: Reputation: 15
The proper way to set this up is like so...

Internet ---->linux PC(router/firewall)<---->hub/switch<--->winNT PC

or...

Internet---->linux PC(router/firewall)<----(crosswired patch cord)--->winNT PC

If you already got a standalone router, you can also hook it up like I am about to show you, but I sugest (for better security) that you use the router as a simple switch/DHCP server, and use one of the methods above - using your linux box as the firewall/router.


--------------------------->Linux PC
|
internet-->router/hub
|
----------------------------WinNT PC

__________________________________________

If you need a good howto on setting up IP masqurarading (to use your Linux box as a router/firewall) visit http://www.tldp.org , they got lots of good howto's that are well laid out...
 
Old 07-10-2003, 01:01 PM   #3
hakcenter
Member
 
Registered: Apr 2003
Location: Not to far from the computer screen
Distribution: RedHat 9.0
Posts: 324

Rep: Reputation: 30
why not just have lan b setup just like lan a, and then use a vpn tunnel ?

as far as i was aware, you couldn't get your own t line directly to another building
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
routing by iptables ali_dd15 Linux - Networking 14 10-14-2005 06:38 AM
iptables routing CJ_Grobler Linux - Security 1 06-14-2005 03:13 AM
iptables / routing hakcenter Linux - Networking 13 05-01-2003 05:16 AM
More Help routing with iptables LAR12345 Linux - Networking 2 02-02-2003 11:28 AM
routing with iptables Han_Solo Linux - Security 0 10-28-2001 07:04 PM

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

All times are GMT -5. The time now is 09:59 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration