This repository has been archived by the owner on Jan 25, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
root
committed
Apr 17, 2020
1 parent
9ed097e
commit 5e8f7d8
Showing
4 changed files
with
61 additions
and
10 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
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,56 @@ | ||
{ | ||
"comment": "Freifunk Magdeburg NAT64", | ||
"instance": "default", | ||
"framework": "netfilter", | ||
|
||
"global": { | ||
"pool6": "64:ff9b::/96", | ||
"manually-enabled": true, | ||
|
||
"zeroize-traffic-class": false, | ||
"override-tos": false, | ||
"tos": 0, | ||
"mtu-plateaus": [1280, 1006, 508, 296, 68], | ||
"maximum-simultaneous-opens": 16, | ||
"source-icmpv6-errors-better": true, | ||
"handle-rst-during-fin-rcv": false, | ||
"f-args": 8, | ||
|
||
"logging-bib": false, | ||
"logging-session": false, | ||
|
||
"address-dependent-filtering": true, | ||
"drop-icmpv6-info": false, | ||
"drop-externally-initiated-tcp": false, | ||
|
||
"udp-timeout": "5:00", | ||
"tcp-est-timeout": "4:00:00", | ||
"tcp-trans-timeout": "4:00", | ||
"icmp-timeout": "1:00", | ||
|
||
"ss-enabled": false, | ||
"ss-flush-asap": true, | ||
"ss-flush-deadline": 2000, | ||
"ss-capacity": 512, | ||
"ss-max-payload": 1452 | ||
}, | ||
|
||
"pool4": [ | ||
{ | ||
"mark": 66, | ||
"protocol": "TCP", | ||
"prefix": "10.11.12.2", | ||
"port range": "1024-65535" | ||
}, { | ||
"mark": 66, | ||
"protocol": "UDP", | ||
"prefix": "10.11.12.2", | ||
"port range": "1024-65535" | ||
}, { | ||
"mark": 66, | ||
"protocol": "ICMP", | ||
"prefix": "10.11.12.2", | ||
"port range": "61001-65535" | ||
} | ||
] | ||
} |
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
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 |
---|---|---|
@@ -1,10 +1,4 @@ | ||
#!/bin/sh | ||
for ip in $V4IP | ||
do | ||
jool -4 $i --mark $MARK_DEC | ||
done | ||
|
||
jool --pool6 $V6IP | ||
jool --enable | ||
|
||
exec joold /root/netsocket.json | ||
jool file handle /root/jool.conf | ||
echo sleeping | ||
sleep 3600 |