Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added jool config #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,4 @@ RUN set -ex \

COPY run.sh /root/run.sh
COPY netsocket.json /root/netsocket.json
COPY config.json /root/config.json
56 changes: 56 additions & 0 deletions config.json
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"
}
]
}
1 change: 1 addition & 0 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ done
jool --pool6 $V6IP
jool --enable

exec jool file handle /root/config.json
exec joold /root/netsocket.json