iptables

Kenny Hitt kennyhitt at knology.net
Sun Oct 20 08:20:52 EDT 2002


Hi.  I hard coded the IPS in my script but here it is
iptables -A PREROUTING -t nat -p udp -d 24.214.40.161 --dport 4074:4076
-j DNAT
--to 192.168.1.2
iptables -A PREROUTING -t nat -p udp -d 24.214.40.161 --dport 2074:2076
-j DNAT
--to 192.168.1.2
Once you do this, 192.168.1.2 is the only machine on my network that can
use the reflector.

          Kenny


On Sat, Oct 19, 2002 at 11:55:34PM -0400, Patrick Turnage wrote:
> Hi
>  I have a few questions about iptables, nat and speakfreely..
> 
> I'm trying to get port forwarding to work for speak freely.
> I was wondering if someone has written a iptables script that works good
> for allowing a user on my home network with the address of 10.0.0.2 to use
> speak freely through either a reflecter or a direct host connection.
> My gateway is 10.0.0.1. 
> I am doing the following command but it doesn't appear to work.
> iptables -t nat -A PRERouting -p udp --dport 4074 -j DNAT --to 10.0.0.2:4074
> Is there some other ports that I need to forward to make sure speak freely
> is going towork, or am I completely off on the command I was using.. 
> I actually have no idea what ports need to be forwarded either way to allow
> speak freely to communicate through my nat setup. My kernel is 2.4.18.
> thanks for any help
> Patrick
> 
> 
> -----
> Patrick Turnage
> E-mail: pturnage at tampabay.rr.com
> AOL Instant Messenger: kg4dqk
> Home Page:
> http://www.access-connect.com
> 
> 
> 
> _______________________________________________
> Speakup mailing list
> Speakup at braille.uwo.ca
> http://speech.braille.uwo.ca/mailman/listinfo/speakup
> 




More information about the Speakup mailing list