mirror of
https://github.com/daeuniverse/dae.git
synced 2025-03-10 04:47:25 +07:00
docs: README and troubleshooting
This commit is contained in:
parent
081fc58bd2
commit
88b5bcfa26
@ -58,6 +58,8 @@ Check them using command like:
|
||||
|
||||
If you set up dae as a router or other intermediate device and bind it to LAN interfaces, you need to adjust some linux kernel parameters to make everything work fine. By default, the latest Linux distributions have IP Forwarding `disabled`. In the case where we need to up a Linux router/gateway or a VPN server or simply a plain dial-in server, then we need to enable forwarding. Moreover, in order to keep our gateway position and keep correct downstream route table, we should disable `send-redirects`. Do the followings to adjust linux kernel parameters:
|
||||
|
||||
For every LAN interfaces you want to proxy:
|
||||
|
||||
```shell
|
||||
export lan_ifname=docker0
|
||||
|
||||
|
@ -40,7 +40,15 @@ dae does not support PPPoE yet. We are working on it. However, binding to LAN fo
|
||||
|
||||
### Binding to LAN but bad DNS in other machines
|
||||
|
||||
To verify:
|
||||
**1. Troubleshoot config of dae**
|
||||
|
||||
Make sure you have bind to the correct LAN interfaces.
|
||||
|
||||
For example, if your use the same interface eth1 for WAN and LAN, write it as `wan_interface: eth1` and also in `lan_interface: eth1`. If the LAN interfaces you want to proxy are eth1 and docker0, write them both as `lan_interface: eth1,docker0`.
|
||||
|
||||
**2. Troubleshoot DNS**
|
||||
|
||||
To verify on another machine in LAN:
|
||||
|
||||
```
|
||||
curl -i 1.1.1.1
|
||||
@ -55,7 +63,4 @@ netstat -ulpen|grep 53
|
||||
# lsof -i:53 -n
|
||||
```
|
||||
|
||||
If does, stop the service process or change its listening port from 53 to others.
|
||||
|
||||
### Common troubleshooting
|
||||
|
||||
If does, stop the service process or change its listening port from 53 to others. Do not forget to modify `/etc/resolv.conf` to make DNS accessible (for example, with content `nameserver 223.5.5.5`, but do not use `nameserver 127.0.0.1`).
|
||||
|
Loading…
Reference in New Issue
Block a user