1
Virtual private networks / Re: Wireguard, Gateways and Routing. Completely lost and slowly going insane!
« on: December 08, 2020, 10:42:05 am »
I’m not sure how I would go about doing the packet capture?
Here are the rest of the screenshots you asked for though. Please see attachments.
I assume at this point it is possible to do what I need Wireguard/Opnsense to do?
I also assume my firewall rules look ok since you didn't suggest any changes to them?
If so what I really need to know is answers to a bunch of questions like:
If this is the config settings I get:
# TorGuard WireGuard Config
[Interface]
PrivateKey = IB-REMOVEDFORSECURITY-=
ListenPort = 51820
DNS = 1.1.1.1
Address = 10.xx.xx.xx/24
[Peer]
PublicKey = iz-REMOVEDFORSECURITY-=
AllowedIPs = 0.0.0.0/0
Endpoint = 109.xxx.xxx.xx:1443
PersistentKeepalive = 25
Do I need to put the Private key AND Public key in the Local settings page or do I just put the Public key in the Endpoint page and only the Private key in the Local page?
I’ve tried to do it with both but neither way seemed to help but it would be nice to know for sure which one it actually is.
Looking at the List Configuration tab I get this:
interface: wg0
public key: vc-REMOVEDFORSECURITY-=
private key: (hidden)
listening port: 51820
peer: iz-REMOVEDFORSECURITY-=
endpoint: 109.xxx.xxx.xx:1443
allowed ips: 0.0.0.0/0
transfer: 0 B received, 10.98 KiB sent
persistent keepalive: every 25 seconds
This has me asking 2 questions. The first one is if it’s normal for the received transfer to be 0 B?
The second one is if it’s normal for the Public key to be different from the one I put in from the config settings I received from my VPN provider?
Additionally when I look at the Handshakes tab I get this:
wg0 iz-REMOVEDFORSECURITY-= 0
My question is if it’s normal for the 0 to be at the end? In other screenshots I’ve seen in some guides it has a long number after it, yet I don’t seem to get that.
It makes me wonder if I have a connection working after all which is where I feel like I’m going round in circles with no idea if what I’m doing is right because I don’t have anything I KNOW is working to build upon.
I’ve been focusing on the firewall rules since I got an online status with a monitoring IP clearly displaying some sort of connection is active. Yet the above gives me doubt leaving me feeling lost as to knowing what is and isn’t working.
Here are the rest of the screenshots you asked for though. Please see attachments.
I assume at this point it is possible to do what I need Wireguard/Opnsense to do?
I also assume my firewall rules look ok since you didn't suggest any changes to them?
If so what I really need to know is answers to a bunch of questions like:
If this is the config settings I get:
# TorGuard WireGuard Config
[Interface]
PrivateKey = IB-REMOVEDFORSECURITY-=
ListenPort = 51820
DNS = 1.1.1.1
Address = 10.xx.xx.xx/24
[Peer]
PublicKey = iz-REMOVEDFORSECURITY-=
AllowedIPs = 0.0.0.0/0
Endpoint = 109.xxx.xxx.xx:1443
PersistentKeepalive = 25
Do I need to put the Private key AND Public key in the Local settings page or do I just put the Public key in the Endpoint page and only the Private key in the Local page?
I’ve tried to do it with both but neither way seemed to help but it would be nice to know for sure which one it actually is.
Looking at the List Configuration tab I get this:
interface: wg0
public key: vc-REMOVEDFORSECURITY-=
private key: (hidden)
listening port: 51820
peer: iz-REMOVEDFORSECURITY-=
endpoint: 109.xxx.xxx.xx:1443
allowed ips: 0.0.0.0/0
transfer: 0 B received, 10.98 KiB sent
persistent keepalive: every 25 seconds
This has me asking 2 questions. The first one is if it’s normal for the received transfer to be 0 B?
The second one is if it’s normal for the Public key to be different from the one I put in from the config settings I received from my VPN provider?
Additionally when I look at the Handshakes tab I get this:
wg0 iz-REMOVEDFORSECURITY-= 0
My question is if it’s normal for the 0 to be at the end? In other screenshots I’ve seen in some guides it has a long number after it, yet I don’t seem to get that.
It makes me wonder if I have a connection working after all which is where I feel like I’m going round in circles with no idea if what I’m doing is right because I don’t have anything I KNOW is working to build upon.
I’ve been focusing on the firewall rules since I got an online status with a monitoring IP clearly displaying some sort of connection is active. Yet the above gives me doubt leaving me feeling lost as to knowing what is and isn’t working.