Sasikumarp’s Weblog

dns server link and firewall forward

Posted by sasikumarp on April 2, 2010

http://www.lamolabs.org/blog/282/how-to-setup-a-dns-server-on-centos-5/

find public_html/ -type f -exec sed -i ‘/H3qqea3ur6p/d’ {} \;

iptables -t nat -A PREROUTING -p tcp -i eth1 –dport 5222 -j DNAT –to 192.168.1.20:5222

iptables –table nat -A POSTROUTING -o eth0 -j MASQUERADE

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

 
Follow

Get every new post delivered to your Inbox.