![]() ![]() To connect OpenVPN automatically after boot, change the filename from. To connect: sudo openvpn -config client.ovpn For example, this skips connection in LAN connecting via OpenVPN. route SHADOWSOCKS_SERVER_IP 255.255.255.255 net_gatewayĪdd necessary routing if you needed. ![]() socks-proxy 127.0.0.1 1080Īdd this line to skip routing the connection to Shadowsocks server via OpenVPN. To use Salsa20 or ChaCha20 ciphers, install the libsodium package.Add this line to use SOCKS5 proxy on localhost port 1080. Installing the python-m2crypto package will make encryption a little faster. ![]() The Shadowsocks server can be controlled with an instance of example, to start and enable the service using the configuration file /etc/shadowsocks/config.json, use the service or bind Shadowsocks to a privileged port (less than 1024), the server should be started as user $ ssserver -c /etc/shadowsocks/config.json -d stop $ ssserver -c /etc/shadowsocks/config.json -d start $ ss-server -c /etc/shadowsocks/config.json -d stop $ ss-server -c /etc/shadowsocks/config.json -d start $ ssserver -c /etc/shadowsocks/config.json $ ss-server -c /etc/shadowsocks/config.json To start it in the foreground using the configuration file /etc/shadowsocks/config.json: The server is started with the ss-server(shadowsocks-libev) or ssserver(shadowsocks) command. Tip: Run journalctl -u foo as root to see the logs. ![]() You may also be interested in running an instance of after the network is up. The Shadowsocks client can be controlled with an instance of or through systemctl. For example, the configuration file is /etc/shadowsocks/foo.json. Make sure that the configuration file is in /etc/shadowsocks. $ ss-local -s server_address -p server_port -l local_port -k password -m encryption_method -v To use verbose log, add -v to the command: $ ss-local -s server_address -p server_port -l local_port -k password -m encryption_method $ ss-local -c /etc/shadowsocks/config.jsonĪlternatively, the configuration may be specified directly on the command: To start it using the configuration file /etc/shadowsocks/config.json: The client is started with the ss-local command. For example, privoxy or a full DNS resolver on the client. In order to prevent DNS request leaking of client applications (like browsers), further applications must be employed. Warning: The udns package is used as a stub resolver for DNS. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
February 2023
Categories |