Comments (6)
Can you describe the network setup?
from icmptunnel.
By seeing the previous issue, I think you have not updated client.sh
.
from icmptunnel.
Tunnel established but no internet . here is my client.sh
#!/bin/sh
# Assigining an IP address and mask to 'tun0' interface
ifconfig tun0 mtu 1500 up 10.0.1.2 netmask 255.255.255.0
# Modifying IP routing tables
route del default
# 'server' is the IP address of the proxy server
# 'gateway' and 'interface' can be obtained by usint the command: 'route -n'
route add -host xx.xx.xx.xx gw 10.211.55.1 dev eth0
route add default gw 10.0.1.1 tun0
for this senario am i must have Reply ping of my server ip ?
from icmptunnel.
I didn't understand your point. You will need to add the correct IP address of your server in client.sh.
from icmptunnel.
as i understand i must change this line ? route add -host xx.xx.xx.xx gw 10.211.55.1 dev eth0
. or i must change something else ?
from icmptunnel.
I edited my client.sh and gave the I.P of the server in client.sh but still the client can't connect to internet
While analyzing logs in wireshark I found the client accessing internet from it's wlan0 I.P address but not from tun0 (10.0.1.2) I.P address
Here is the default route in my client
student@ubuntu:/Downloads/DhavalKapil-icmptunnel-267a9ec$ route/Downloads/DhavalKapil-icmptunnel-267a9ec$
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default 10.0.1.1 0.0.0.0 UG 0 0 0 tun0
10.0.1.0 * 255.255.255.0 U 0 0 0 tun0
link-local * 255.255.0.0 U 1000 0 0 tun0
student@ubuntu:
Since the default route is 10.0.1.1 ideally I should have internet connection but client still doesn't have any access
Please help me on this
Thanks in advance
from icmptunnel.
Related Issues (20)
- Unable to write to tunnel HOT 2
- Payload size is small. HOT 2
- Tag a release? HOT 1
- [Question] Is the usecase of this software different from `sshuttle` ? HOT 1
- compiling on Cygwin HOT 3
- Encrypt traffic? HOT 1
- i got error
- removed HOT 1
- deleted HOT 3
- cant bind tun0 address to create a socks proxy HOT 2
- feature to add client for linphone
- compile error on termux (rooted) HOT 1
- Make Problem HOT 1
- Traffic IP
- Demo
- Can't connect server ip
- error while running tunnel on client
- work On centos 7
- does it support icmpv6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from icmptunnel.