Web Proxy - Proxy Port 800 not possible

Started by t.mayer, March 07, 2019, 08:23:40 PM

Previous topic - Next topic
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

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)

Hey Fabian,

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

  • Interface: LAN
  • TCP/Protocol: IPv4/TCP+UDP
  • Destination port range: 800
  • Redirect target ip: <ip of OPNsense>
  • Redirect target port: 3128
Thanks for your help!