LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 02-17-2005, 02:13 AM   #1
wingcom
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Mandrake
Posts: 38

Rep: Reputation: 15
Wireless/ Wired Mixed Networking (2networks)


Hi,

I just bought a wireless ADSL-Router (DSL-G604T). Untill now i was quite happy using wires but since i am moving and will have more floors i am placing 1 box upstairs and dont want to be bother with cables...

Now, i've read many things about wireless communication and it seems not to be to secure. Above that i like my mandrake box as an acting firewall/ router and dns server. Since i can see many things in the logs i control pretty much everything.

I've been searching alot to keep my data as secure as possible and let my mandrake as it is. The thing i did, is, i created 2 networks (192.168.1.* and 10.0.1.*) One network for the D-Link which broadcasts 10.0.1.* and only holds wireless connections (currently 1 pc) and 1 pc on cable --> my mandrake box. The mandrake box has 2 network cards (one for the router and another on a hub (with laptop and xbox). The network card to the router (eth1) is treated as "the internet".

This works... BUT, i am having trouble with my DNS settings, i keep on losing them... BOTH (eth0 and eth1) are overwritten with dns ip 10.0.1.1 and i am not able to browse a page in mozilla with the hostname UNTILL i ping it because pinging DOES work.

What i really want to know is: is this a good setup? Are there better solutions (keeping my mandrake router/firewall functionality)? Any suggestions? i just dont want stuff like the xbox or my laptop(work) to be "in the air" and accesible to evil neigbours

Any suggestions/ comments are very welcome. Also if someone how this dns problem could be caused... i am all ears...

thanx!

wingcom
 
Old 03-05-2005, 05:21 AM   #2
wingcom
Member
 
Registered: Feb 2003
Location: Belgium
Distribution: Mandrake
Posts: 38

Original Poster
Rep: Reputation: 15
I've tested some more and read the shorewall documentation.

I now bridged the two network cards so there is only one ip for both cards (layer 2 bridge) . my wireless router = the net, my linux = firewall and the hub connected to my linux = local area network. When somebody steals my wireless password, they will still have to go through the firewall on the bridge. My linux is still providing dhcp and dns. To configure it i couldnt use wizard since they cannot handle the bridge.

Thought i should share this info.

Anyway, normally a bridge lets through broadcast messages but for some reason shorewall is blocking one:

Code:
Mar  5 12:00:49 ENTERPRISE kernel: Shorewall:INPUT:REJECT:IN=br0 OUT= MAC= SRC=192.168.1.2 DST=192.168.1.255 LEN=144 TOS=0x00 PREC=0x00 TTL=64 ID=146 DF PROTO=UDP SPT=631 DPT=631 LEN=124
Anyone got an idea on what rule i should set to de-block this? I already got this:

Code:
ACCEPT	fw	loc	tcp	631	-
ACCEPT	fw	loc	udp	631	-
ACCEPT	loc	fw	tcp	631	-
ACCEPT	loc	fw	udp	631	-
and this:

Code:
ACCEPT	net	fw	tcp	631	-
ACCEPT	net	fw	udp	631	-
with:

net = br0:eth1
loc = br0:eth0

Shorewall does not show up a chain like all2all or something and also its a broadcast --> Destination:192.168.1.255. I dont know how to set this in shorewall... any clues?

thanx
wiNGCom
 
  


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
Auto switching from wired to wireless networking and back? ronaldv Linux - Wireless Networking 2 06-26-2005 03:27 PM
Wireless Laptop to Wired ethernet via Linux PC (wired/wireless) sambartle Linux - Wireless Networking 0 01-30-2005 04:37 AM
router with mixed wired/wireless network takisd Linux - Wireless Networking 1 11-28-2004 01:52 PM
mixed wireless/wired network set up question. megaspaz Linux - Wireless Networking 1 07-02-2004 01:52 AM
robust wireless/wired networking on laptop? JohnnyBravo Linux - Wireless Networking 0 04-10-2004 05:05 PM

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

All times are GMT -5. The time now is 04:27 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