Skip to content

Commit c19dfcd

Browse files
authored
Update README.md
1 parent e6f2155 commit c19dfcd

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Approute-Utils
1+
# App-Route-Jail
22

33
Tweaks to force application-specific routing on linux using SO_MARK, advanced routing, LD_PRELOAD and file namespace mounting.
44
It allows to route packets generated by socket-based application (almost any) using specicifed routing table. Supports application-specific DNS name resolution by substituting a modified resolv.conf for a namespace the app is running.
@@ -19,9 +19,9 @@ OpenWrt package makefile included.
1919

2020
# Force an application to use a specific network interface
2121

22-
We need to find what gateway the network interface is using then force that gateway to our jailed application
22+
We need to find what gateway the network interface is using then force that gateway to our jailed application and thus force the application to bind to a specific network interface
2323

24-
- Find the interface gateway (there are many solution to find the gateway here are some command that permit to find the used gateway)
24+
- How to find the interface gateway (there are many solution to find the gateway here are some commands that permit to find the used gateway)
2525

2626
```
2727
$ route
@@ -37,15 +37,15 @@ $ ip route show 0.0.0.0/0 dev eth0
3737

3838
# Per application gateway
3939

40-
- Build Approute-Utils
40+
- Build App-Route-Jail
4141

4242
```
43-
git clone https://github.com/Intika-Linux-Network/Approute-Utils.git
44-
cd Approute-Utils
43+
git clone https://github.com/Intika-Linux-Network/App-Route-Jail.git
44+
cd App-Route-Jail
4545
chown 755 make.sh
4646
./make.sh
4747
```
48-
- Add a route for the future marked packets (will belong to the jailed application) in the example `192.168.1.1` is used as the forced gateway, those routes wont affect other applications, this manipulation have to be done only once at the system boot for instance
48+
- Add a route for the future marked packets (for the jailed application) in this example `192.168.1.1` is used as the forced gateway, this route rule wont affect other applications, this manipulation have to be done only once at the system boot for instance if you want to use this solution daily
4949

5050
```
5151
ip rule add fwmark 10 table 100
@@ -58,7 +58,7 @@ ip route add default via 192.168.1.1 table 100
5858
MARK=10 LD_PRELOAD=./mark.so firefox
5959
```
6060

61-
- Testing the wan ip address
61+
- Testing the wan IP address
6262

6363
```
6464
MARK=10 LD_PRELOAD=./mark.so wget -qO- ifconfig.me

0 commit comments

Comments
 (0)