![]() ![]() ip link showġ: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000 Thanks for any help!ĮDIT: Also, it seems odd to me that when the WireGuard VPN is running, there is no route in the route table. I could see that the routes were added with "route -n", but the high WireGuard metric for 0.0.0.0 didn't encourage traffic to be routed over the primary network connection.Īny suggestions on how to send only traffic for 10.x.x.x over the WireGuard VPN? Probably something simple I am missing. I added routes as suggested in that article to the Network Manager WireGuard setup, but everything is still routed over the WireGuard VPN. It basically assigned a route for the desired remote network to the PPP adapter, and then added a route for 0.0.0.0 with a high metric. I found a post on here Configuring routes so that vpn is only used for local resources showing how to add some routes for a PPP VPN to accomplish what I am trying to do. The WireGuard setup in Network Manager also has a "Use this connection only for resources on its network", but checking that with AllowedIps = 0.0.0.0/0 still sends all traffic over the VPN. I have tried changing AllowedIPs to addresses containing various permutations of 10.200.85.x/x and 10.0.15.x/x, It seems that changing AllowedIPs to anything but 0.0.0.0/0 prevents anything from getting routed over the VPN, and "ip route get" shows the route for all addresses going through the primary network connection. I only want traffic for 10.0.15.xxx routed through the WireGuard VPN. This works, except that ALL traffic on my client is routed through the WireGuard VPN. The computers I am trying to reach on the other side of the VPN are in the 10.0.15.xxx range. ![]() ![]() The plug-in reads the configuration file I got from the sys admin, which is below (network-manager also handles the startup and shutdown of the wg client): Maybe something like this, but I am not sure if this is the correct syntax or if I can combine it with the above #Stop Bots entry.I am using the Wireguard VPN client on Ubuntu 20.04 through the network-manager plug-in. What I am looking for is something that blocks a referrer of "-". SetEnvIfNoCase User-agent (yandex|baidu|mj12bot|ahrefsbot|blexbot|dotbot|exabot|seznambot|aihitbot|spbot|mj12bot|obot|deusu|ia_archiver|metauri|flipboardproxy|flicky|pycurl|casper|cmsworldmap|diavol|purebot|comodo|feedfinder|planetwork) not-allowed So far I have these in place to block the 80% of other undesired bots. How can I block these in my htaccess using a combination of post and get to wp-login.php and there is no page: "-"? The traffic is direct and there is no page referrer. This BotNet changes +3,000 different IP addresses a day but always does a Post and then a Get. I put in two rules that cut down 80% of the traffic, but these requests are still coming through. We have been getting slammed by a BotNet. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |