gernative.blogg.se

Mikrotik iptables
Mikrotik iptables










mikrotik iptables

Now what I want to do is to use Tor instead of openvpn, I mean forwarding traffic to the Tor network not openvpn connection.Īccess to some domains and IP address are blocked by my ISP, so I have to use VPN to access them. Iptables -t nat -A POSTROUTING -o tun0 -j MASQUERADEĮcho "1" | sudo tee /proc/sys/net/ipv4/ip_forward Here's the commands I use to setup raspberry pi to route incoming connections to tun0: iptables -A FORWARD -o tun0 -i eth0 -m conntrack -ctstate NEW -j ACCEPT Raspberry pi runs an openvpn client and has ip_forward and masquerade enabled in IP Tables so any incoming TCP/IP connection on ethernet port will be forwarded to tun0 which belongs to openvpn.

mikrotik iptables mikrotik iptables

I have configured my router to route some of connections to my raspberry pi.












Mikrotik iptables