LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 09-13-2003, 02:40 PM   #1
Amir
LQ Newbie
 
Registered: May 2003
Distribution: Red Hat 9
Posts: 22

Rep: Reputation: 15
Can't Access Linux Router


I have the following network setup:

WWW
.....|
Linux Router
.....|
Wireless Router
|......................|
XP1................XP2

I used the HOWTO: http://en.tldp.org/HOWTO/IP-Masquerade-HOWTO/

I am using the stronger firewall, but i think its too strong for what i want. When i used the simple firewall i was able to use vnc and ssh login with putty from my XP machines, but now i can't do that. Infact i can't even ping eth1 (which goes to my wireless router) anymore. Here is the strong firewall config:

http://en.tldp.org/HOWTO/IP-Masquera...2.4.X-STRONGER

How can i edit this firewall so that i can use vnc and ssh login(putty) from my internal network and from any external location?

Any help would be greatly appreciated.
 
Old 09-13-2003, 04:29 PM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
It IS too restrictive in your case. My modification:
Code:
# ----- Begin OPTIONAL INPUT Section -----
#

# HTTPd - Enable the following lines if you either run a WWW server on
#         the IPMASQ server -OR- plan on PORTFW'ing HTTP traffic to
#         an internal WWW server
#
#$IPCHAINS -A input -i $EXTIF -p tcp -s 0.0.0.0/0 -d $EXTIP 80 -j ACCEPT

$IPCHAINS -A input -i $EXTIF -p tcp -s 0.0.0.0/0 -d $EXTIP 22 -j ACCEPT
#
# ----- End OPTIONAL INPUT Section -----
It should allow SSH. I don't remember VNC ports, so I can't write rules for it.
 
Old 09-17-2003, 02:50 PM   #3
voltron1011
Member
 
Registered: Aug 2003
Location: Tucson, AZ
Distribution: Red Hat 8
Posts: 62

Rep: Reputation: 15
are you using the wireless router as an access point or a full fledged router? I would leave the "WAN" port alone on the wireless router and just use it as a wireless access point / switch. Does it have a built in 4 port switch? I have a D-Link DI-614 router at home, but i can access it wirelessly because it is part of the switch, not the router (do you follow?).
 
  


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
console access to router from linux shawga Linux - Networking 4 03-06-2006 08:53 PM
Cannot access Linux server through Linksys WRT54GS router William1955 Linux - Hardware 5 11-04-2005 05:33 PM
Access Linux behind a router by telnet jocast Linux - Networking 4 08-19-2004 10:12 AM
WindowsXP cannot access Linux router PC technobeast Linux - Networking 2 07-05-2004 01:34 PM
cant ping or access router from linux Scruff Linux - Networking 25 10-25-2003 05:38 PM

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

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