Hello,
I configured Tor and OpenVPN on a Linux server like the below:
Client ---> OpenVPN Server ---> Tor Network ---> Internet
My Tor config file is:
VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
DNSPort 10.8.0.1:53530
TransPort 10.8.0.1:9040
The 10.8.0.1
IP is the IP address my OpenVPN virtual NIC:
tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
inet 10.8.0.1 netmask 255.255.255.255 destination 10.8.0.2
inet6 fe80::d54:8cd:b0c9:f4b0 prefixlen 64 scopeid 0x20<link>
unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 500 (UNSPEC)
RX packets 135 bytes 15804 (15.4 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 164 bytes 90203 (88.0 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I want to run another OpenVPN server with 10.9.0.1
IP. Can I define multiple DNSPort
and TransPort
IP addresses? For example:
VirtualAddrNetwork 10.192.0.0/10
AutomapHostsOnResolve 1
DNSPort 10.8.0.1:53530
DNSPort 10.9.0.1:53530
TransPort 10.8.0.1:9040
TransPort 10.9.0.1:9040
Thank you.