Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 09-17-2005, 09:25 PM   #1
LQ Newbie
Registered: Sep 2005
Posts: 1

Rep: Reputation: Disabled
shorewall -- opening a port

i opened a port and restarted my server. within the next 2 hours, it was working fine, but after that, the Shorewall firewall somehow blocked it... port was no longer opened. i know this because the app that i was trying to access no longer worked. and i know this sounds crazy, but it really happened.

here's how i opened the port

Accept all all tcp 80,443,3306,<newSSHport>

after that i restarted the firewall using the following command

/etc/rc.d/init.d/shorewall restart

not sure why about 2 hours later, it's stop working.

i appreciate any advice on what i should to get the Shorewall firewall to work properly. opening a port should be a simple matter.


Last edited by netpacket; 09-18-2005 at 07:07 AM.
Old 09-18-2005, 10:17 PM   #2
Senior Member
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Run, as root, :
tail -f /var/log/messages
when you are trying to access the app that its blocking. Post back here any messages involving shorewall.

Also run (as root):
netstat -nlp
and verify that this app is still running and is listening on that port.


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
Opening Port steve007 Linux - Newbie 5 07-23-2005 01:05 PM
MNF and Shorewall port forwarding apoc63 Linux - Networking 2 05-18-2005 10:39 AM
Opening a Port gpamkenny Linux - Networking 3 11-04-2004 02:51 PM
Shorewall - Port forwarding BrianNJ Linux - Networking 0 05-24-2004 08:00 AM
Opening port 80 nmoog Linux - Newbie 4 02-01-2004 04:00 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 12:10 AM.

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