diff options
author | Gaming4JC <g4jc@openmailbox.org> | 2015-07-25 14:19:59 -0400 |
---|---|---|
committer | Gaming4JC <g4jc@openmailbox.org> | 2015-07-25 14:19:59 -0400 |
commit | 099e1f9a926792eedd9a4f97ea54d550fdda39cd (patch) | |
tree | 2d3b06cde3b839885aa4f64836d0b50dbf3a98b2 /pcr/tcpcrypt/tcpcrypt.service | |
parent | 7dd5ee00d78ce6ebb2f316410a091c56fd12a005 (diff) | |
download | abslibre-099e1f9a926792eedd9a4f97ea54d550fdda39cd.tar.gz abslibre-099e1f9a926792eedd9a4f97ea54d550fdda39cd.tar.bz2 abslibre-099e1f9a926792eedd9a4f97ea54d550fdda39cd.zip |
updating tcpcrypt PKGBUILD
Diffstat (limited to 'pcr/tcpcrypt/tcpcrypt.service')
-rw-r--r-- | pcr/tcpcrypt/tcpcrypt.service | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pcr/tcpcrypt/tcpcrypt.service b/pcr/tcpcrypt/tcpcrypt.service index 99784c7c0..b83a7b65c 100644 --- a/pcr/tcpcrypt/tcpcrypt.service +++ b/pcr/tcpcrypt/tcpcrypt.service @@ -1,10 +1,14 @@ [Unit] -Description=Tcpcrypt is a protocol that attempts to encrypt (almost) all of your network traffic. (If servers also run tcpcrypt.) +Description=Network traffic encryption (tcpcrypt) After=network.target [Service] -ExecStart=/usr/bin/launch_tcpcryptd.sh -Restart=on-abort +ExecStart=/usr/bin/tcpcryptd -f -C aes -U tcpcryptd -J /var/run/tcpcryptd -p 777 +PrivateDevices=yes +ExecStartPost=/usr/bin/iptables -I INPUT ! -i lo -p tcp -j NFQUEUE --queue-num 777 +ExecStartPost=/usr/bin/iptables -I OUTPUT ! -o lo -p tcp -j NFQUEUE --queue-num 777 +ExecStopPost=/usr/bin/iptables -D INPUT ! -i lo -p tcp -j NFQUEUE --queue-num 777 +ExecStopPost=/usr/bin/iptables -D OUTPUT ! -o lo -p tcp -j NFQUEUE --queue-num 777 [Install] -WantedBy=multi-user.target +WantedBy=multi-user.target
\ No newline at end of file |