[newbie] Shorewall Config
Hi Could someone please tell me how to configure shorewall to allow a windows pc to use the linux net connection and also keep port 4662 (tcp) and 4672 (udp) for aMule If I use DrakGw it knocks off aMule Thanks for any advice you can give Mike Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Shorewall Config
On Tuesday 30 Sep 2003 11:54 am, Michael Lothian wrote: Hi Could someone please tell me how to configure shorewall to allow a windows pc to use the linux net connection and also keep port 4662 (tcp) and 4672 (udp) for aMule If I use DrakGw it knocks off aMule Thanks for any advice you can give Mike Use drakgw for your basic Internet sharing connection, and then edit the file /etc/shorewall/rules to add the lines ACCEPT net fw tcp 4662 ACCEPT net masq tcp 4662 ACCEPT net fw udp 4672 ACCEPT net masqudp 4672 That will open those ports from the Internet to the Firewall device itself, and to the 'masqueraded' network with your Windows computers on. Lots of good shorewall advice on www.shorewall.net derek -- -- www.jennings.homelinux.net http://twiki.mdklinuxfaq.org Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] Shorewall config help.
i'm surprised no one has replied as yet. anyway, you need to edit /etc/shorewall/rules add the following line DNAT net loc:192.168.0.2 tcp 21 assuming 192.168.0.2 is the ip address of your windoze workstation. you can also visit www.shorewall.net. there is a wealth of good documentation, and the quickstart guide gets understanding the config files in minutes. - Original Message - From: |nSaNe To: [EMAIL PROTECTED] Sent: Sunday, July 27, 2003 22:31 Subject: [newbie] Shorewall config help. Hiya, I have been trying to get Shorewall rnning right for the past few days, I run Mandrake with Internet sharing on my mandrake server, and Windows on my main workstation (duel booted with mandrake) Anyways, I want to run a FTP server on my workstation and I can igure out for to get shorewall to forward connects on port 21 (or any other port for that matter) to my workstation. I can figure it out of i want to run it on my linux server with ease, but I am having nothing but trouble getting it to forward the connects to my workstation. Any help would be apreciated. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com