Explorar el Código

Initial Commit

master
Emilio Lo Prete hace 1 mes
commit
1c5e0af0d1
Se han modificado 2 ficheros con 112 adiciones y 0 borrados
  1. 17
    0
      emilio6.service
  2. 95
    0
      tiddles.org

+ 17
- 0
emilio6.service Ver fichero

@@ -0,0 +1,17 @@
[Unit]
Description=tiddles tunnel
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/sbin/ifup 6to4
ExecStart=/usr/bin/ip tunnel add 6to4 remote remoteipv4 local ipv4 ttl 255
ExecStart=/usr/bin/ip link set 6to4 up
ExecStart=/usr/bin/ip addr add serveripv6/64 dev 6to4
ExecStart=/usr/bin/ip route add dev ::/0 6to4
ExecStart=/usr/bin/ip addr add ipv6onserver/64 dev enp4s0
ExecStart=/usr/bin/ip route add ipv6onserver/64 dev enp4s0

[Install]
WantedBy=multi-user.target

+ 95
- 0
tiddles.org Ver fichero

@@ -0,0 +1,95 @@
#+SECURITY CLASSIFICATION: A1 - ID012018ELP
#+TITLE: TIDDLES IPV6 OPERATION - WHITE WHALE

1. Intelligence

1.a. What we know.

# on the ranch
# i have camera towers
# those are assigned ipv6
# as i'm not paying $15000 for a block of ipv4
# on my bome at bade the isp only provides ipv4
# they refuse to provide ipv6
# so it'd be nice if i do it the proper way
# and have the consumer grade router do 6to4 on base

1.b. Devices

|------------------|
| Workstation |
|------------------|
| |
| Cheap ISP Router |
| |
|------------------|
| |
| |
| SERVER |
| |
|------------------|
| |
| Clients |
|------------------|

2. SITUATION

Uncooperative hardware talks on IPV4.

3. MISSION

*Make Server tunnel 6to4 traffic translation from SERVER towards Workstation, and link both extremes of the hardware via IPV6*

4. Logistics

Crap HP Computer.
Crap Openwrt converted Telecom ex-dsl modem.
Stallman Signed IBM T40.
Internet's all knowing databases.
Debian repos and documentation.
Lennart Poettering hatred.
Mate and Cigarettes.

5. Objectives.

1) Recreate a scenario in which those settings would happen.
2) Script that scenario and make it portable and usable according to the wishes of Captain Ahab.


SIGNED

J2/A/20 - 260920JUL20 - 012018ELP

End of preparatory order.
--------------------------------

* RESOLUTION

HP COMPUTER WILL BE CLIENT - 192.168.0.166

OPENWRT BOX WILL BE COMCAST CRIPPLED IPV4 ROUTER

STALLMAN WILL BE SERVER - 192.168.0.204

/Snoopy will be witness./

* STEPS I'll TAKE

1) DISABLE WIRELESS ON ALL DEVICES
2) DISABLE IPV6 on OpenWRT - PROVIDES WIFI

RESOURCE FOR IPv6 CONVERSION https://6to4.version6.ru/debian/

** COMMANDS ON THE CLIENT

ip tunnel add net6tun mode sit remote 192.168.0.204 local 192.168.0.166
ip link set net6tun up










Cargando…
Cancelar
Guardar