How To Run Linux Web Server / Service on Private IP Network
Q. I've only one public IP address assigned by my ISP using metro Ethernet connection. eth0 has public IP and eth1 is connected to our network switch. How do I configure Linux box to forward traffic to my web server hosted at 192.168.1.100 IP address?
A. There are many ways to forward traffic from public IP to private IP:
[a] Use iptables to forward traffic between private and public IPs. You can route traffic to certain machines on a DMZ for HTTP, HTTPS or SMTP service.
[b] Use reverse proxy software such as pound. It accepts requests from HTTP / HTTPS clients and distributes them to one or more Web servers.
Subscribe to our free e-mail newsletter or RSS feed to get all updates.
You can Email this page to a friend.
Related Other Helpful FAQs:
- Linux vmware VPS server routing problem
- OpenSSH Change a Passphrase With ssh-keygen command
- Linux configure Network Address Translation or NAT
- Linux Virtual Private Network setup
- How do I find out what network services are running or listing under Linux?
Leave a Reply
We encourage your comments, and suggestions. But please stay on topic, be polite, and avoid spam. Thank you very much for stopping by our site!
Tags: 192 168 1 100, dmz, forward traffic, ips, Iptables, isp, Linux, metro ethernet, network switch, private ip, proxy software, reverse proxy, route traffic, smtp service, web server, web servers



Recent Comments
Today ~ 32 Comments
Yesterday ~ 1 Comment
Yesterday ~ 3 Comments
Yesterday ~ 2 Comments
Yesterday ~ 3 Comments