How set the linux firewall to let eMule work (need some ports to be viewable outside)
Hi,
I have my firewall without any rule (I still use ipchains) Chain input (policy ACCEPT): target prot opt source destination ports - icmp ------ anywhere anywhere any -> any - udp ------ anywhere anywhere any -> any - tcp ------ anywhere anywhere any -> any Chain forward (policy MASQ): target prot opt source destination ports - icmp ------ anywhere anywhere any -> any - udp ------ anywhere anywhere any -> any - tcp ------ anywhere anywhere any -> any Chain output (policy ACCEPT): target prot opt source destination ports - icmp ------ anywhere anywhere any -> any - udp ------ anywhere anywhere any -> any - tcp ------ anywhere anywhere any -> any and the "eMule" program needs to access the TCP port 4662 of my local computer to work properly, aswell as the UDP 4672. I don't know much about this but seems as the masquerading is not allowing anyone from outside to access a particular port, how can I do this? thanks for any tip |
I presume there must be a command that forwards the traffic for the two stated ports to the machine, making those ports accesible from the out world.
anyone knows how? I appreciate any kind of input |
What kind of connection do you have to the internet?
If you have a broadband router you need to open ports on that to. With nat entries... |
It all depends if you're using a computer BEHIND a linux gateway.
In this case, the linux gateway must DNAT some ports. Unluckly, I'm not very confident with ipchains, but in iptables, it works like this: Code:
IPT=/sbin/iptables |
Thanks guys, I am actually working with a broadband connection, with a Cisco SOHO 77 router, but don't know how to open ports, I think they must be all open since everything works very good.
the solution for IPTables sounds like the one I'm looking for, just need to research how to do this on IPChains, anyone got a clue? |
All times are GMT -5. The time now is 02:42 AM. |