removed unnecessary info and added addendum
This commit is contained in:
		| @@ -110,13 +110,12 @@ Here is where you will setup a service to make sure your wg iterface will be res | ||||
| systemctl enable wg-quick@wg# | ||||
| ``` | ||||
|  | ||||
| Note: For a distro using another init system (initrc, openrc, sysvinit, etc) you will need to either implement it as an ifup/ifdown script or some other way. | ||||
| Note: For a distro using another init system (initrc, openrc, sysvinit, etc) you will need to either implement it as an ifup/ifdown script, network-script, or some other method. | ||||
|  | ||||
|  | ||||
| ### Step 4: Deploy on client and server | ||||
| This is simple. You just have to put the config we generated in step 2 in the /etc/wireguard directory as wg#.conf (with # being the wireguard interface number (can be anything)) on both the server and client. | ||||
|  | ||||
| Afterwards you can  | ||||
|  | ||||
| ### Step 5: Setup port forwarding on router/gateway | ||||
| For this step you just need to get on your router and port-forward a port on the router to the port configured on your server. I cannot provide the specific how-to for that since I cannot account for all the different devices that you may be using. | ||||
| @@ -127,9 +126,9 @@ Now all you have to do is test your config work. | ||||
| Just go ahead issue this command on your server and client (while off your home network) | ||||
|  | ||||
| ```bash | ||||
| wg-quick up wg# | ||||
| sudo wg-quick up wg# | ||||
| ``` | ||||
|  | ||||
| After this you should see packets/traffic (transfer) when running "wg" to see how much data has been transferred to & from the interface. | ||||
| After this you should see packets/traffic (transfer) when running "wg" to see how much data has been transferred to & from the interface. If you experience any issues you can send me an email and I can see if I can troubleshoot with you. | ||||
|  | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user