Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ elif [ "$NETWORK" == "tap" ]; then
--dhcp-range=$NETWORK_IP,$NETWORK_IP \
--dhcp-option=option:router,$NETWORK_GW \
--dhcp-option=option:dns-server,$NAMESERVERS
ifconfig $TAP_IFACE $NETWORK_GW up
ifconfig $TAP_IFACE $NETWORK_GW/24 up
iptables -t nat -A POSTROUTING -o $NETWORK_IF -j MASQUERADE
iptables -I FORWARD 1 -i $TAP_IFACE -j ACCEPT
iptables -I FORWARD 1 -o $TAP_IFACE -m state --state RELATED,ESTABLISHED -j ACCEPT
Expand Down