LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-18-2004, 06:59 AM   #1
newbie44
LQ Newbie
 
Registered: Apr 2004
Posts: 2

Rep: Reputation: 0
Unhappy special network setting...


Hi,


We have a redhat linux /kernel 2.4.18/ based firewall with 4 network cards.
ETH2 connects to the ADSL modem. ETH0,1,3 connect to the workstations.

ETH1/192.168.7.1/ connects to my computer/192.168.7.7/.

I have read more than hundred topics about this, and try the commands what I read in these topics, but unfortunately noone of them are working.

I would like to open a few ports because I would like to be active user on DC++, and I would like to have highid on Emule.

I know that Emule needs 4662/tcp and 4772/udp ports.
Can DC++ use these ports too?

Can somebody help me with the commands?

This is the iptables of the server:

Generated by iptables-save v1.2.6a on Sun Apr ....
*nat
:PREROUTING ACCEPT (10171:807227)
:POSTROUTING ACCEPT (6:345)
:OUTPUT ACCEPT (62:4454)
-A POSTROUTING -o ppp0 -j MASQUERADE
COMMIT
# Completed on Sun Apr ....
# Generated by iptables-save v1.2.6.a on Sun Apr ....
*filter
:INPUT ACCEPT (1845:240416)
:FORWARD ACCEPT (433132:261544511)
:OUTPUT ACCEPT (1034:143407)
-A INPUT -i ppp0 -m state --state INVALID,NEW -j DROP
-A FORWARD -i ppp0 -m state --state INVALID,NEW -j DROP
COMMIT


If you need any other info about my config just ask it!

Thanks a lot,
 
Old 04-18-2004, 08:37 AM   #2
leckie
Member
 
Registered: Dec 2003
Location: Australia
Distribution: Mandrake 9.2
Posts: 151

Rep: Reputation: 30
iptables -t nat -A PREROUTING -d public_ip -p tcp --dport 9176 -j DNAT --to 192.168.0.2
 
  


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
block special and character special files s_shenbaga Linux - Newbie 4 06-23-2015 02:16 AM
gateway setting ./network-scripts/ifcfg-eth1 and ./network joshfields Linux - Networking 1 04-29-2012 04:27 AM
Problem with setting up network card / network ssmeets Linux - Hardware 3 11-03-2005 03:46 PM
Setting special permissions for USB flash device Shawn Parr SUSE / openSUSE 0 02-19-2005 06:04 PM
Setting Up Network BittaBrotha Linux - Networking 11 02-19-2002 01:53 AM

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

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