Koozali.org: home of the SME Server

Obsolete Releases => SME Server 8.x => Topic started by: mgb on June 05, 2012, 01:28:07 PM

Title: I want to go back to all visitors pass through the proxy
Post by: mgb on June 05, 2012, 01:28:07 PM

 Bypass Proxy
 I want to go back to all visitors pass through the proxy
 Want to cancel the program that I have added
 http://wiki.contribs.org/Firewall # Open_Ports_in_Private_Server.2FGateway_Mode
 Is it possible to clear the settings like after installation.
 The server works in a
 I use the configuration
  server and gateway
Title: Re: I want to go back to all visitors pass through the proxy
Post by: janet on June 05, 2012, 01:55:54 PM
mgb

Reissue the same commands but replace yes with no and replace private with public
eg
config setprop masq Stealth no
config setprop ftp access public
and so on...
although you may not really want to make all those services public, so consider carefully first.

Please read
http://wiki.contribs.org/Db_command_tutorial
Title: Re: I want to go back to all visitors pass through the proxy
Post by: mgb on June 06, 2012, 09:01:22 AM
is not work
config setprop masq Stealth no
config setprop ftp access public
and so on...

 db configuration show

squid=service
    BypassProxyTo=0.0.0.0
    EnforceSafePorts=no
    SafePorts=21,70,80,81,119,210,443,563,980,1024-65535
    TCPPort=3128
    TCPProxyPort=80:3128
    Transparent=yes
    TransparentPort=3128
    access=public
    status=enabled
squidguard=service
    Blacklist=http://www.shallalist.de/Downloads/shallalist.tar.gz
    Squidguard_Allow=trusted
    Squidguard_Block=aggressive,drugs,gamble,hacking,porn,sex,untrusted,violence,warez
Title: Re: I want to go back to all visitors pass through the proxy
Post by: janet on June 06, 2012, 12:26:22 PM
mgb

Quote
is not work

squid
    access=public
    status=enabled

What does not work ?
squid is enabled and set for public access
Title: Re: I want to go back to all visitors pass through the proxy
Post by: mgb on June 06, 2012, 12:51:33 PM
I want enabled http proxy
i config the server-manager enabled
is work disable

The server's HTTP proxy works to reduce overall uplink usage by caching recently-visited pages. It is transparent to web browsers using this server as their gateway. Enable or disable this proxy with the following toggle.
 
HTTP proxy status   enabled
Title: Re: I want to go back to all visitors pass through the proxy
Post by: janet on June 06, 2012, 06:11:00 PM
mgb

Please read this to learn how to use db commands
http://wiki.contribs.org/Db_command_tutorial

I think you need to do
config delprop squid BypassProxyTo
config setprop squid access private
signal-event post-upgrade
signal-event reboot
Title: Re: I want to go back to all visitors pass through the proxy
Post by: mgb on June 07, 2012, 02:16:31 PM
i do
config delprop squid BypassProxyTo
config setprop squid access private
signal-event post-upgrade
signal-event reboot
is not work BypassProxyTo

Thanks for the help
 I can not solve the problem
 I think  masq is the
 Problem
 Is it possible to remove the program

Comment
For explanations on SME
 I see that they are invested
 But there are also Lhithsb translation of Gogol
 Will write words without double meaning
 
Title: Re: I want to go back to all visitors pass through the proxy
Post by: janet on June 07, 2012, 09:49:32 PM
mgb

I do not understand you.
What is your native language ?

To show settings for masq do
config show masq
Title: Re: I want to go back to all visitors pass through the proxy
Post by: mgb on June 07, 2012, 10:31:09 PM
/etc/rc.d/init.d/masq restart

Shutting down IP masquerade and firewall rules:         Done!

Enabling IP masquerading: iptables: Index of replacement too big
iptables: Index of replacement too big
done
[root@linuxf ~]# config show masq
masq=service
    DenylogTarget=drop
    Logging=most
    Stealth=no
    Trace=disabled
    pptp=yes
    status=enabled