LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-06-2012, 05:27 AM   #1
inadavid
LQ Newbie
 
Registered: Nov 2012
Posts: 1

Rep: Reputation: Disabled
How should i setup the route and iptable for my wireless router box


Hi , first time post here.
I install gentoo on my linux box ,and config it as my wireless router with a usb wireless card. I binded 2 ssid on this wireless card (wlan0, wlan1) with hostapd, and the outbond net work device is ppp0. I also connect my company VPN through ppp0 as tun0 .

my question is , how should i config the route and iptable to forward ppp0 only to wlan0, and forward tun0 only to wlan1? I have already configged wlan0 with 192.168.0.1 and wlan1 192.168.1.1.
 
  


Reply



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
Setting up Linux box as IPv6 router to replace Netgear WNR1000 wireless router samcan Linux - Networking 1 06-19-2011 05:30 AM
Trying to setup Ubuntu box as router GrdLock Linux - Networking 2 04-05-2011 08:26 AM
Network setup: router + wireless router card slackwarefan Linux - Networking 2 04-24-2010 08:44 PM
No route to host on D-link DI-624 wireless router Ionexchange Linux - Wireless Networking 5 05-21-2004 12:12 AM
need to setup router to share and route dialup connection Insurr3cti0n Linux - Networking 2 11-18-2003 12:32 AM

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

All times are GMT -5. The time now is 04:46 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
Open Source Consulting | Domain Registration