Last active
May 2, 2024 21:09
-
-
Save njh/f31e78c85f894bb52a71675e47dda72b to your computer and use it in GitHub Desktop.
Revisions
-
njh revised this gist
May 2, 2024 . 1 changed file with 1 addition and 2 deletions.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,5 @@ #!/bin/bash # # pppd='pppd' @@ -13,5 +12,5 @@ pppd+=' +ipv6' pppd+=" ipv6 '::1,::2'" exec socat -d \ TCP6-LISTEN:8723,reuseaddr,nodelay,fork,max-children=1 \ EXEC:"$pppd",pty -
njh created this gist
Apr 27, 2024 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ #!/bin/bash # # Start an IPv6-only PPP server, that accepts connections over TCP # pppd='pppd' pppd+=' debug' pppd+=' logfd 2' pppd+=' nodetach' pppd+=' noauth' pppd+=' noip' pppd+=' +ipv6' pppd+=" ipv6 '::1,::2'" exec socat -d \ TCP6-LISTEN:8723,reuseaddr,fork,max-children=1 \ EXEC:"$pppd",pty