News
:
This forum is now permanently frozen.
m0n0wall Forum
>
m0n0wall Support (English)
>
Firewall/NAT
Topic: Firewall Redirect Rules
Pages: [
1
]
Topic: Firewall Redirect Rules (Read 2398 times)
Firewall Redirect Rules
« on: April 12, 2010, 14:59:55 »
tuaris
Posts: 9
Is their a way to redirect packets based on their source IP address and port to a different destination address and port?
Lets say I want to do something like:
UDP packets from X.X.X.X going to any host on port 5060
Should be redirected to Y.Y.Y.Y on port 5061
«
Last Edit: April 12, 2010, 15:01:38 by tuaris
»
Re: Firewall Redirect Rules
« Reply #1 on: April 12, 2010, 17:59:01 »
Fred Grayson
Posts: 994
m0n0wall allows you to configure this without error, but it does not work. I used to use a GNATBox router which is also FreeBSD based, and it worked there.
--
Google is your friend and Bob's your uncle.
Re: Firewall Redirect Rules
« Reply #2 on: April 15, 2010, 11:01:16 »
brushedmoss
Posts: 446
I had a rule for some time that took a high port number inbound to ssh(22) on the inside and it worked fine ....
Re: Firewall Redirect Rules
« Reply #3 on: April 15, 2010, 19:02:54 »
Fred Grayson
Posts: 994
Quote from: brushedmoss on April 15, 2010, 11:01:16
I had a rule for some time that took a high port number inbound to ssh(22) on the inside and it worked fine ....
Yes, this works. But you can not redirect packets from your WAN IP and port to another public IP and port. That did work in GNATBox.
--
Google is your friend and Bob's your uncle.
Pages: [
1
]