TchenoPT
10-03-2010, 20:22
Hi all!
Being that I am complete linux noob, I need your help in configuring the iptables on both my routers.
Here's the thing, I'm running a WL-500GP as my Gateway and a WL-500g mainly as an AP.
So my though was to make good use of the hardware and so I've set them up as follows:
WL-500GP (Gateway)
(250HDD - USB)
lighttpd
PHP
Mysql
rtorrent
rrd
samba
vsftp
WL-500g (AP)
(2GB - USB Flash)
printserver
vsftpd
samba
lighttpd
xmail
so now that you know my setup, here's my question, how do I setup ipatables on both routers in order for mysql to be closed on the WAN side and open on the inside (I use a port forward to access wl-500g lighttpd and vsftpd).
Thanks in advance!
Being that I am complete linux noob, I need your help in configuring the iptables on both my routers.
Here's the thing, I'm running a WL-500GP as my Gateway and a WL-500g mainly as an AP.
So my though was to make good use of the hardware and so I've set them up as follows:
WL-500GP (Gateway)
(250HDD - USB)
lighttpd
PHP
Mysql
rtorrent
rrd
samba
vsftp
WL-500g (AP)
(2GB - USB Flash)
printserver
vsftpd
samba
lighttpd
xmail
so now that you know my setup, here's my question, how do I setup ipatables on both routers in order for mysql to be closed on the WAN side and open on the inside (I use a port forward to access wl-500g lighttpd and vsftpd).
Thanks in advance!