forked from jaysoffian/eap_proxy
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy patheap_proxy.conf-dist
59 lines (48 loc) · 1.55 KB
/
eap_proxy.conf-dist
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
### /etc/eap_proxy.conf: configuration file for EAP Proxy
# See eap_proxy(1) for more information about these options.
# To enable an option, uncomment it (remove any "#" at the front).
### You will probably only need to edit the lines after IF_WAN and IF_ROUTER.
# Required options
# IF_WAN
wan0
# IF_ROUTER
rtr0
### You will probably not need to edit anything below here...
### unless you need to explicitly set the VLAN subinterface to use.
# Checking whether WAN is up
--ping-gateway
# Ignoring router packets
--ignore-when-wan-up
--ignore-start
--ignore-logoff
# Configuring the VLAN subinterface on IF_WAN
# --vlan: By default, eap_proxy will act as though the --vlan 0 line were enabled,
# even if no --vlan line is enabled.
#
# You can configure the VLAN by its VLAN ID or device name,
# or use IF_WAN directly by specifying "none".
#
# Also, an invalid input for --vlan is the same as specifying "none".
#
# This means that if no --vlan line is enabled, and you have no VLAN 0,
# eap_proxy will first try to use VLAN 0, and then fall back to using
# IF_WAN directly. For most users this will work fine.
#
# Sorry if this is a little confusing; it's for compatibility's sake.
# --vlan 0
# --vlan 4
# --vlan vlan0000
# --vlan none
--restart-dhcp
# Setting MAC address
--set-mac
# Daemonization (enable only ONE of the --pidfile lines)
--daemon
--pidfile
# --pidfile /path/to/pidfile.pid
# --pidfile "/path to/pidfile has/spaces.pid"
--syslog
# Debugging
# --promiscuous
# --debug
# --debug-packets