Configure proxy on elastix

waraltca

Joined
Nov 5, 2009
Messages
17
Likes
0
Points
0
#1
hi guys...

I have elastix 1.6 behind a proxy.
How do I configure the proxy settings (ip and port) for elastix?

thanks
 

teguh.umar

Joined
Aug 25, 2010
Messages
6
Likes
0
Points
0
#2
open elastix terminal with ssh, and type :

export http_proxy=http://yourProxy:yourPort/
export ftp_proxy=ftp://yourProxy:yourPort/

that only works for cli update command, not for elastix web console.
Cheers
 

simdevmat

Joined
May 19, 2011
Messages
1
Likes
0
Points
0
#3
To allow the elastix/freepbx web interface to use the proxy you also need to add a rule to iptables.

So the steps you need to do is as follows (do in the terminal):
Code:
export http_proxy=<proxy address>:<port>
also add the above to ~/.bashrc to make it permanent.

Then add the following rule to iptables to route all http traffic to the proxy server.
Code:
iptables -t nat -A OUTPUT -o <interface E.G. eth0> -p tcp --dport 80 -j DNAT --to <proxy address>:<port>
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,898
Messages
130,879
Members
17,560
Latest member
manuelc
Top