echowings / blogcomment

0 stars 0 forks source link

post/vyos-how-to-setup-wireguard/ #8

Open utterances-bot opened 4 years ago

utterances-bot commented 4 years ago

Vyos How to Setup Wireguard - My Blog - For Fun

How to conifugre wireguard in vyos WireGuard is an extremely simple yet fast and modern VPN that utilizes state-of-the-art cryptography. Wireguard Today I will try to deploy wireguard with two vyos . Site-to-Sit mode Toplogy |--------------------------------| |---------------------------------| | Server | | Client | | |-----cloud ----| wan:${wan-address} | | wireguard tunnel interface:wg01| | Wireguard tunnel interface:wg01 | |--------------------------------| |---------------------------------| Server configuration # Generates a new keypair, if one exists already is asks you if you want to overwrite the existing one.

https://blog.stevedong.com/post/vyos-how-to-setup-wireguard/

ofh commented 4 years ago

Great tutorial But why do you have: allowed-ips '172.16.100.2/32' on server And allowed-ips '0.0.0.0/0' on client ?

BR OFH

Bruce20091128 commented 3 years ago

请问一下用这个来架设办公用的VPN 是不是需要一个公网IP?

echowings commented 3 years ago

@ofh This policy to let client surfing internet via wireguard tunnel

echowings commented 3 years ago

@Bruce20091128 Indeed.