Home
Help
Search
Login
Register
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Web Proxy - Proxy Port 800 not possible
« previous
next »
Print
Pages: [
1
]
Author
Topic: Web Proxy - Proxy Port 800 not possible (Read 3008 times)
t.mayer
Newbie
Posts: 16
Karma: 0
Web Proxy - Proxy Port 800 not possible
«
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
Logged
fabian
Moderator
Hero Member
Posts: 2769
Karma: 200
OPNsense Contributor (Language, VPN, Proxy, etc.)
Re: Web Proxy - Proxy Port 800 not possible
«
Reply #1 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)
Logged
t.mayer
Newbie
Posts: 16
Karma: 0
Re: Web Proxy - Proxy Port 800 not possible
«
Reply #2 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:
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!
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
English Forums
»
Web Proxy Filtering and Caching
(Moderator:
fabian
) »
Web Proxy - Proxy Port 800 not possible