Linux / UNIX Tech Support Forum
This is a discussion on Port forward within the Networking, Firewalls and Security forums, part of the Mastering Servers category; Hello, I have read Linux iptables: Port Redirection Example but I would need some help on port forward. I have: ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Networking, Firewalls and Security No it's not a secret. Talk about firewalls and security issues. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hello,
I have read Linux iptables: Port Redirection Example but I would need some help on port forward. I have: public_ip(eth0) --pc--10.10.10.1(eth1)------10.10.10.2--storage i need acces from internet to storage on port 80 what I tryed: iptables -t nat -A PREROUTING -p tcp -i eth0 -d publicip --dport 80 -j DNAT --to 10.10.10.2:80 iptables -A FORWARD -p tcp -d 10.10.10.2 --dport 80 -j ACCEPT iptables -A INPUT -i eth1 -p tcp -m tcp --dport 80 -j ACCEPT but it still does not work |
| Sponsored Links | ||
|
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to forward an email to other account | tom | Getting started tutorials | 4 | 03-04-2010 10:38 PM |
| ip forward, ipchain, iptable??? | Oppey | Linux software | 2 | 11-24-2009 05:15 AM |
| Forward xferlogs | s_anandkumar | Linux software | 3 | 10-22-2009 07:32 PM |
| why can't forward large email attachment? | khaosregion | Mail Servers | 4 | 10-25-2007 11:49 PM |
| mail forward between ISPs | picioslug | Shell scripting | 2 | 09-23-2006 04:53 PM |