This commit is contained in:
parent
789148bd95
commit
6686666e01
@ -48,9 +48,10 @@ sudo systemctl enable --now openvpn-client@server # so we get connected on start
|
|||||||
```
|
```
|
||||||
To check if you've done it correctly, you can do this:
|
To check if you've done it correctly, you can do this:
|
||||||
```
|
```
|
||||||
curl https://fzorb.xyz/ip
|
~~curl https://fzorb.xyz/ip # this is currently broken~~
|
||||||
```
|
```
|
||||||
... and if it outputs your VPS's IP, congratulations, you've just connected your server to your VPS!
|
~~... and if it outputs your VPS's IP, congratulations, you've just connected your server to your VPS!~~
|
||||||
|
You should instead check it with `ip a` and see if you have a `tun0` or similar interface for now.
|
||||||
|
|
||||||
## Step 4. forwarding HTTP requests to your own box.
|
## Step 4. forwarding HTTP requests to your own box.
|
||||||
When a user wants to access your website, the Nginx server running on the VPS will reverse proxy whatever site they want to access. It's pretty simple.
|
When a user wants to access your website, the Nginx server running on the VPS will reverse proxy whatever site they want to access. It's pretty simple.
|
||||||
|
Loading…
Reference in New Issue
Block a user