Search the Community
Showing results for tags 'routing'.
Hi, I’m already using Torguard for a few years (mostle OpenVPN in Docker containers). Now I installed the Torguard client on my Debian virtual machine to use with Wireguard and qBittorent. So I installed Torguard, installed Wireguard, set my port forward and made connection, all working fine as expected. However when the connection is up I can no longer access (from another pc in same lan of virtual machine), the webinterface of qBittorent who resides on the same ip of the virtual machine, so ip:portnumber When I disconnect I can connect again to it. Also I noticed in the routing table Torguard uses a hard coded 192.168.0.0 but my local range is 10.10.0.0 so could this be the cause? Or do I need to manually alter the routing to make it work?
Originally was going to use wireguard on 1 VM but found I had to start routing more than I originally planned. So I've now switched to setting up wireguard in pfsense. I got wireguard in pfsense and all is fine with wireguard itself(at least I think it's not the issue) Now want to direct some traffic out wireguard and other traffic out WAN Once I connect the wireguard all NON-vpn devices lose access to the Internet - they can still communicate with each other inside the network but lose the ability to do anything internet based. However my VPN devices are working as they should, I haven't confirmed they are doing DNS properly yet as I want to get my other devices working first. To get wireguard working I used steps from: Basically I only have a few hosts to send out wireguard, the majority will use WAN (including DHCP clients) I'd like to take a group of IP's and make those go out the VPN, and anything else not. WAN interface has public internet IP - 68.x.x.x LAN gateway, this is gateway on all devices - 192.168.1.1 DHCP Range - 192.168.1.130 - 192.168.1.254 Created an alias: NAT/Outbound - Hybrid Outbound I THINK this is allowing the wanted "protected" devices out via the VPN - this is good and what I'm wanting. In Firewall/Rules/LAN I have the following: Most examples for building this type of routing rules have involved openVPN and are from 2015. While this should be getting me close I still am not getting it to work. The things i"ve read indicate that the VPN connection should become a second gateway, and I'd just set that as the gateway on the VPN devices. However when I bring the wireguard connection up there is no second gateway getting auto-magically created. Do I have to create one? Shouldn't the rules I've put in place allow the flow of traffic over VPN, and if not meeting VPN then it flows over regular?
I appologize in advance; while I'm sure this is addressed elsewhere I'm having a difficult time searching and locating on the site or support site. With the linux VPN client is their functionality to exclude programs or traffic from VPN routing? I would like to set a program to exclude from the VPN routing, similar to the Restricted Apps list on Android app I'd rather not look at routing tables and the like. is there a function in the linux client which works as a white/black list? If not, how might I accomplish this? Thank you
Zima posted a question in VPN Questions and General SupportHi! I have following setup. The main idea: Connect to VPN trough special WiFi spot if i need to do something special. Next upgrade: Add Tor and Privoxy service and connect from Home LAN, trough special Privoxy port. | INTERNET | external IP | |------------+-------------------------| | ISP GPON ROUTER | | 192.168.0.1 | Comment: i CAN forward ports, | NAT, | change IP of internal network, | provider controlled | change a name of SSID | firewall | can't check any rules on |------------+------------------------| this firewall and can't trust fully | | wlan0-1 WiFi AP for VPN |------------+-----------------------+----------------------- | eth1 (wan) | 10.55.0.0/24 (VPN lan) | 22.214.171.124 | network, dhcp | | VPN options | OPENWRT router | TUN | firewall | subnet | OpenVPN client | | Privoxy | | Tor | 192.168.1.0/24 (HOME lan) | | network, dhcp, | br-lan+----------------------- | 192.168.1.1 | internet access through main router w/o VPN | | |--------------------------------------| OpenVPN is working with TorGuard and it's ok. BUT... Starting OpenVPN droping the all connection to internet, from HOME lan users, cos of OpenVPN changing the routing table. Then i'm using option - option pull-filter 'ignore redirect-gateway' - it's working. But i still can't create valid routing for working VPN and HOME lan at the SAME time. Routing table with OpenVPN started default 10.33.0.5 126.96.36.199 UG 0 0 0 tun0 default 192.168.0.1 0.0.0.0 UG 0 0 0 eth1 10.33.0.1 10.33.0.5 255.255.255.255 UGH 0 0 0 tun0 10.33.0.5 * 255.255.255.255 UH 0 0 0 tun0 10.55.0.0 * 255.255.255.0 U 0 0 0 wlan0-1 188.8.131.52 192.168.0.1 255.255.255.255 UGH 0 0 0 eth1 184.108.40.206 10.33.0.5 220.127.116.11 UG 0 0 0 tun0 192.168.0.0 * 255.255.255.0 U 0 0 0 eth1 192.168.1.0 * 255.255.255.0 U 0 0 0 br-lan How i can solve this?