Re: Shorewall 5.2.3.2 - Port forwarding

"Damjan Hajsek" <[email protected]>
Newsgroups gmane.comp.security.shorewall
Message-ID <[email protected]>
Thanks
I tried DNAT and doesn't work

-----Original Message-----
From: Simon Matter [mailto:[email protected]] 
Sent: Monday, December 27, 2021 11:35 AM
To: Shorewall Users <[email protected]>
Subject: Re: [Shorewall-users] Shorewall 5.2.3.2 - Port forwarding

> Hi
> I like to setup shorewall to accept connection from my IP from port 
> 4442 and shorewall will forwared that to port 22 ssh I tried this but 
> doesn't work
> ACCEPT	net:192.168.0.203	fw	tcp	22	4442

I'm quite sure you want to use a DNAT or REDIRECT rule here instead of
ACCEPT.

Regards,
Simon



_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.