Advertisement
Guest User

Untitled

a guest
Apr 2nd, 2011
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. root@ben:~# iptables -t mangle -N DIVERT
  2. iptables: Chain already exists.
  3. root@ben:~# iptables -t mangle -A PREROUTING -p tcp -m socket -j DIVERT
  4. root@ben:~# iptables -t mangle -A DIVERT -j MARK --set-mark 1
  5. root@ben:~# iptables -t mangle -A DIVERT -j ACCEPT
  6. root@ben:~# ip rule add fwmark 1 lookup 100
  7. root@ben:~# ip route add local 0.0.0.0/0 dev lo table 100
  8. RTNETLINK answers: File exists
  9. root@ben:~# echo 0 >/proc/sys/net/ipv4/conf/lo/rp_filter
  10. root@ben:~# ps -ef | grep stunnel
  11. root 5323 4225 0 15:53 pts/3 00:00:00 grep --color=auto stunnel
  12. root@ben:~# ps -ef | grep stunnel
  13. root 5329 3879 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
  14. root 5330 5329 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
  15. root 5331 5329 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
  16. root 5332 5329 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
  17. root 5333 5329 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
  18. root 5334 5329 0 15:53 pts/0 00:00:00 stunnel4 /etc/stunnel/stunnel.conf
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement