OPNsense Forum

English Forums => Web Proxy Filtering and Caching => Topic started by: t.mayer on March 07, 2019, 08:23:40 pm

Title: Web Proxy - Proxy Port 800 not possible
Post by: t.mayer on March 07, 2019, 08:23:40 pm
Due tu historical reasons our students are using port 800 in there mobile-device-proxy-settings.
No I want to switch from pfsense (where port 800 was possible ) to opnsense.
When I change the default port (3128) to 800 the proxy-server wont start again.

Error in the logs: Fatal: Unable to open http socket
On the console sockstat -4 -l does not show port 800 to be in use.

Can you help me please!

Greeds and thanks!
Tom
Title: Re: Web Proxy - Proxy Port 800 not possible
Post by: fabian on March 07, 2019, 08:30:04 pm
ports 0 < x < 1024 need root privileges to bind. It is probably cheaper if you just add a DNAT (port Forward) rule to the interface IP (NOT localhost as this is used to intercept)
Title: Re: Web Proxy - Proxy Port 800 not possible
Post by: t.mayer on March 08, 2019, 08:31:44 am
Hey Fabian,

thanks for the quick response!
Your suggestion works for me with the following NAT-rule:
Thanks for your help!