OPNsense Forum

Archive => 17.1 Legacy Series => Topic started by: Douglas Fischer on July 19, 2017, 02:49:29 am

Title: Web Proxy Bind squid to Wan Interface
Post by: Douglas Fischer on July 19, 2017, 02:49:29 am
I'm Trying to use OPNsense 17.1.10-amd64 as a simple WebProxy.
And I´m not being able to activate Web Proxy(Squid) on the Wan Interface.

This box is not the Firewall of the network, and it must not have two interfaces.
My intent is to replace a Squid server.

I thought to enable a dummy interface on it, enable Web Proxy on it, an do a Port foward to it.
But i'm not able to create some Loopback or some like that...

Any suggestions?

P.S.: I'm recently coming from pfsense, so I'm still skating on thin ice...

--
Douglas Fischer
Title: Re: Web Proxy Bind squid to Wan Interface
Post by: franco on July 19, 2017, 10:07:09 am
Hi Douglas,

The WAN address needs to be static, that's all. :)


Cheers,
Franco
Title: Re: Web Proxy Bind squid to Wan Interface
Post by: Douglas Fischer on July 21, 2017, 10:33:45 pm
Tetes with static IP Address and it Worked. Thanks!

A cooment:
On a point of view of physical servers, or firewall as itself...
It's an "understandable" behavior!

But on a several Virtualized Servers environment, it is a restriction that makes the things harder.
Title: Re: Web Proxy Bind squid to Wan Interface
Post by: franco on July 24, 2017, 07:08:35 pm
It's a historic limitation so the service doesn't have to reload every time the IP changes. Only a handful of services in OPNsense do this.

We can add this, but as any good feature it needs guidance, testing and continued support from the community to mature.


Cheers,
Franco