X.X.X.X is my pubic IP server ... i used following command to redirect it to my local IP Server 11.9.0.89 . so that i can open web pages from outside
iptables -t nat -A PREROUTING -p tcp --dport 4026 -j DNAT --to-destination 11.9.0.89:80
iptables -t nat -A POSTROUTING -p tcp --dport 4026 -j MASQUERADE
iptables -t nat -A PREROUTING -p tcp --dport 5026 -j DNAT --to-destination 11.9.0.89:8080
iptables -t nat -A POSTROUTING -p tcp --dport 5026 -j MASQUERADE
when i m using http://X.X.X.X:4026 its working
but when i m using http://X.X.X.X:5026 its not working . but 8080 port is ok cause from LAN i can browse 11.9.0.89:8080
thanks
8080 port forwarding is not working
General support questions
Return to “CentOS 6 - General Support”
Jump to
- CentOS General Purpose
- ↳ CentOS - FAQ & Readme First
- ↳ Announcements
- ↳ CentOS Social
- ↳ User Comments
- ↳ Website Problems
- CentOS 8 / 8-Stream / 9-Stream
- ↳ 8 /8-Stream / 9-Stream - General Support
- ↳ 8 /8-Stream / 9-Stream - Hardware Support
- ↳ 8 /8-Stream / 9-Stream - Networking Support
- ↳ 8 /8-Stream / 9-Stream - Security Support
- CentOS 7
- ↳ CentOS 7 - General Support
- ↳ CentOS 7 - Software Support
- ↳ CentOS 7 - Hardware Support
- ↳ CentOS 7 - Networking Support
- ↳ CentOS 7 - Security Support
- CentOS Legacy Versions
- ↳ CentOS 5
- ↳ CentOS 5 - General Support
- ↳ CentOS 5 - Software Support
- ↳ CentOS 5 - Hardware Support
- ↳ CentOS 5 - Networking Support
- ↳ CentOS 5 - Server Support
- ↳ CentOS 5 - Security Support
- ↳ CentOS 5 - Oracle Installation and Support
- ↳ CentOS 5 - Miscellaneous Questions
- ↳ CentOS 6
- ↳ CentOS 6 - General Support
- ↳ CentOS 6 - Software Support
- ↳ CentOS 6 - Hardware Support
- ↳ CentOS 6 - Networking Support
- ↳ CentOS 6 - Security Support