Re: Shorewall 5.2.3.2 - Port forwarding
Phil Stracchino <[email protected]>
| Newsgroups | gmane.comp.security.shorewall |
|---|---|
| Organization | Babylon Communications |
| Message-ID | <[email protected]> |
On 12/29/21 19:05, Damjan Hajsek wrote: > Thanks > I tried DNAT and doesn't work Then possibly your syntax is wrong. Practical example copied directly from my running config and slightly anonymized: DNAT net LAN:10.24.32.123:22 tcp 22123 DNAT net LAN:10.24.32.124:22 tcp 22124 These NAT incoming traffic on external port 22123 to internal host 10.24.32.123 port 22, and so on. So if I want to ssh from outside my own network to host 10.24.32.123 on my internal network (which I believe is exactly what you are trying to make work), I simply ssh to [external IP]:22123. -- Phil Stracchino Babylon Communications [email protected] [email protected] Landline: +1.603.293.8485 Mobile: +1.603.998.6958