[plug] Ipmasqadm help
Joong Cho
joongcho at westnet.com.au
Tue Oct 26 16:17:30 WST 2004
> Message: 19
> Date: Tue, 26 Oct 2004 05:55:05 +0800
> From: Bill Kenworthy <billk at iinet.net.au>
> Subject: Re: [plug] Ipmasqadm help
> To: Perth linux Users Group <plug at plug.linux.org.au>
> Message-ID: <1098741305.7609.34.camel at cbbcbitl303c.murdoch.edu.au>
> Content-Type: text/plain
>
> ipmasqadm is for ipchains, if your using a modern system you are
> probably using iptables.
>
> what distro and version?
>
Are you talking about my modem? I'm currently using Netcomm NB1300 Plus 4
router.
> BillK
>
> Message: 22
> Date: Tue, 26 Oct 2004 08:33:50 +0800
> From: Marc Wiriadisastra <marc-w at smlintl.com.au>
> Subject: Re: [plug] Ipmasqadm help
> To: plug at plug.linux.org.au
> Message-ID: <nki052xhkn.ln2 at shameless.plug.org.au>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
>
> How do I fix this problem?
> Depending on the system you just have to set ip_forward 1 and that
> should enable IP forwarding but you need to get iptables to organise the
> SNAT and DNAT depending on what you are doing. Its hard to sorta get a
> good idea of what your trying but I'll post an example of one port that
> I forward.
> iptables -t nat -A PREROUTING -p tcp --dport 65535 -j DNAT --to
> 192.168.0.104
>
> I also however add some modules to the firewall script because for some
> reason fedora needs them added in a firewall script (I think).
>
>modprobe ip_nat_ftp
>modprobe ip_nat_tftp
>modprobe ip_nat_irc
>modprobe ip_conntrack
>modprobe ip_conntrack_ftp
>modprobe ip_conntrack_tftp
>modprobe ip_conntrack_irc
>
> Thanks basically it its dependant on what you have and what you want to
> forward and all of that. Create a little script or get webmin to help
> in creating your firewall. Although I don't use webmin cause I don't
> know where they store the file and I like to know where things are.
>
> HTH
>
> Marc
>
>
> P.S. Sorry for the long post all thats left is the rest of my script :P
> ------------------------------
>
> Message: 23
> Date: Tue, 26 Oct 2004 08:45:07 +0800
> From: Marc Wiriadisastra <marc-w at smlintl.com.au>
> Subject: Re: [plug] Ipmasqadm help
> To: plug at plug.linux.org.au
> Message-ID: <p9j052xi3o.ln2 at shameless.plug.org.au>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Its from the netfilter website.
>
> So if you do a google for iptables you will find where all the commands
> are. Another way to /learn/ is to see other scripts and try to
> understand what people have done.
>
> http://www.linuxguruz.com/iptables/
>
> Also the last way is to ask people on here since some people on here
> have unbelievably funky scripts that do things I didn't know could be
> done.
>
> HTH
>
> Marc
>
I'm just trying to forward my DNS port to port 53 so that everyone can see
my websites.
With the DNS ports, is it a TCP, UDP or both protocol?
And when you forward this port, is it actually your DNS IP Address or your
own machine's IP Address.
Thanks.
Joong Cho
President
Joong Cho Enterprises
&
Web Site Administrator and Web Site Designer
http://www.joongcho.com/
http://www.startreklibrary.com/
More information about the plug
mailing list