Skip to content

Quart233/gateway

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

Advance the advantage of fake-ip or redir as gateway benifit for different application need. See Here

Requirements

  • OS: Alpine Linux 3.9
  • Packages: linux-firmware-rtl_nic linux-lts v2ray

Realtek NIC

1. Install packages

apk add linux-firmware-rtl_nic linux-lts

2. Output shows NIC reconigzed

ip a

Shell output:

eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
    link/ether a0:36:9f:50:be:fa brd ff:ff:ff:ff:ff:ff
    inet 192.168.25.111/24 scope global eth1
       valid_lft forever preferred_lft forever
    inet6 fe80::a236:9fff:fe50:befa/64 scope link 
       valid_lft forever preferred_lft forever

DNS Dispatcher

1. Install Packages

apk add v2ray

2. Copy config

cp config.json /etc/v2ray/config.json

3. Active service

rc-update add v2ray
rc-status

Shell output:

Runlevel: default
 sshd                              [  started  ]
 v2ray                             [  stopped  ]
 acpid                             [  started  ]
 qemu-guest-agent                  [  started  ]
 crond                             [  started  ]
Dynamic Runlevel: hotplugged
Dynamic Runlevel: needed/wanted
 sysfs                             [  started  ]
 fsck                              [  started  ]
 root                              [  started  ]
 localmount                        [  started  ]
Dynamic Runlevel: manual

Load TUN

modprobe tun
echo "tun" >> /etc/modules

About

DNS OPNsense etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published