Dear Tyler,

Thanks for your guidance. It started working on local IP but when any one tries to access this server using squid public IP address it could not connects.

Why its not working on public IP.


Best regards,


On Tue, May 31, 2011 at 1:42 PM, Tyler J. Wagner <tyler@tolaris.com> wrote:
On Mon, 2011-05-30 at 09:32 +0500, Ashfaq A Khan wrote:
> Pl guide me in webmin for port forwarding for following situation., I
> have a local web server with IP address 192.168.1.100 port 81, this
> server is working behind the fedora(squid) machine,, I want to access
> this local web server from my home, What will be the configuration
> steps in webmin.

You want to create a port-forwarding rule from the squid machine, TCP
port 81, to the local web server.

Login to webmin on the squid server
Networking -> Linux Firewall
Showing iptable: Network address translation (nat)
In the PREROUTING chain, add a new rule

* Chain and action details
Action to take: destination NAT
IPs and ports for DNAT: 192.168.1.100 to 192.168.1.100, port 81 to 81

* Condition details
Network protocol: equals TCP
Destination TCP or UDP port: equals port 81

Click Create
Click Apply Configuration
Click Activate at Boot, if not already set

If you already have an active firewall, this may not work for you. You
must create the rule in the right place in the list.

Regards,
Tyler


--
"Freedom of thought is best promoted by the gradual illumination of
men's minds, which follows from the advance of science."
  -- Charles Darwin


------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
-
Forwarded by the Webmin mailing list at webadmin-list@lists.sourceforge.net
To remove yourself from this list, go to
http://lists.sourceforge.net/lists/listinfo/webadmin-list



--
Ashfaq A Khan
System Officer

FAST- NUCES
Peshawar Campus, Pakistan.
UAN: (+)92 - 91-111-128-128 Ext:150