Update guide-networking.md

Guide to Port Forwarding
This commit is contained in:
Cookie-Monster-Coder 2020-10-15 13:06:36 -05:00 committed by GitHub
parent 527588d5a2
commit f5be8ded9f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,14 @@
Guide to Port Forwarding
===========================
Useful to setup a port forward without messing around with bridge networks.
## Edit `basic.sh` or `headless.sh`
You'll have to edit the following line `-netdev user,id=net0` in `basic.sh` or `headless.sh` to match the line below. *Replace `PORT` with a number.
```
-netdev user,id=net0,hostfwd=tcp::PORT-:PORT \
```
Guide to Bridged Networking
===========================