Hot answers tagged

2

Shorewall is a tool for configuring iptables/netfilter firewall rules, so the documentation for netfilter is a more effective place to look. It says: It is perfectly legal to specify an interface that currently does not exist; the rule will not match anything until the interface comes up. This is extremely useful for dial-up PPP links (usually interface ...


1

UPDATE: For openvpn-as: The openvpn-as port is logged in the file /usr/local/openvpn_as/init.log You can find the port for example using grep: grep -rE "([0-9]{1,3}\.?){4}:[0-9]+/" /usr/local/openvpn_as The configuration of openvpn-as is handled by a script: /usr/local/openvpn_as/bin/ovpn-init For openvpn: The openvpn server port is defined using the ...


1

You should first simplify your alias, there is no need to do the activate stuff. What is important is the first, shebang, line of the python script. It should read: #!/path/to/your/virtualenv/bin/python If the script is executable ( chmod +x script_name ) then the above line make sure that the python installed in virtualenv is called, and that ensures ...



Only top voted, non community-wiki answers of a minimum length are eligible