LinuxQuestions.org
Visit Jeremy's Blog.
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 10-31-2008, 06:04 AM   #1
xpowertripx
LQ Newbie
 
Registered: Jun 2008
Location: Canada
Distribution: Debian/Ubuntu
Posts: 1

Rep: Reputation: 0
Adding open ports to shorewall


Hello. I have a windows xp gaming computer on my lan with an ip of 192.168.10.9 static assigned.

I use a debian box with 2 nics and shorewall as my firewall. Here is the page I used to open up the ports I use now. It is set to allow all outbound traffic from lan to wan but not to allow anything in from wan. Only the ports I have added allow traffic.



These are the ports I need to open and direct to my 192.168.10.9 windows machine.

For MW4 clients, UDP port 28800, TCP port 47624 and TCP/UDP ports 2300-2400 should be open when the game is running (Multiplayer/Connect).
For MW4 servers, ports 9999, 27999, 28805, 28806, 28807, 28808, 47624 (TCP) and 2300-2400 (TCP/UDP), 28800 (UDP).

Looking for the syntax to make it work.


Current Shorewall rules file.

# DNAT net loc:192.168.3.4:22 tcp 2222
#
#################################################################################################### #########
#ACTION SOURCE DEST PROTO DEST SOURCE ORIGINAL RATE USER/
# PORT(S) PORT(S) DEST LIMIT GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW

#WEB SERVER AND FTP PORTS
DNAT net loc:192.168.10.5 tcp 80
DNAT net loc:192.168.10.5 tcp 20
DNAT net loc:192.168.10.5 udp 20
DNAT net loc:192.168.10.5 tcp 21
DNAT net loc:192.168.10.5 udp 21
#Gilligan Ares Port Not sure if TCP or UDP
DNAT net loc:192.168.10.8:29320 tcp 29320
DNAT net loc:192.168.10.8:29320 udp 29320
#Powertrip UTorrent Port
DNAT net loc:192.168.10.9:59954 tcp 59954
#INBOUND SSH LOGIN PORT FOR FIREWALL
DNAT net loc:192.168.10.1:22 tcp 22
**MECHWARRIOR PORTS NEEDED HERE**

Many thanks. I know there are unneeded ports open.

URL for shorewall http://www.cyberdogtech.com/firewall...php?page=rules
 
  


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
Cannot Open Mail Server Ports 25, 110, and 220. Other Ports will open. Binxter Linux - Newbie 9 11-29-2007 02:03 AM
shorewall - adding a router in the local zone skellert Linux - Networking 2 12-06-2006 10:08 PM
opening ports in shorewall joeclem111 Linux - Desktop 1 08-17-2006 07:46 AM
Can't close all ports using shorewall onmountain Linux - Security 4 10-31-2005 04:00 PM
shorewall and mandrake, some ports open i can't close chil326 Linux - Security 1 11-01-2004 10:28 PM

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

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