Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the masquerade configuration to the postconnect.d scripts
- Loading branch information
1 parent
716df05
commit b8a9d66
Showing
4 changed files
with
21 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Package: luci-app-vpnc | ||
Version: 0.1 | ||
Architecture: all | ||
Maintainer: David Rubert <david.rubert@gmail.com> | ||
Depends: vpnc | ||
Section: luci | ||
Priority: optional | ||
Description: LuCI GUI to the VPNC program | ||
Filename: luci-app-vpnc_0.1_all.ipk | ||
Source: luci-app-vpnc |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
iptables -A forwarding_rule -o tun0 -j ACCEPT | ||
iptables -A forwarding_rule -i tun0 -j ACCEPT | ||
iptables -t nat -A postrouting_rule -o tun0 -j MASQUERADE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters