LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 12-28-2023, 03:51 PM   #1
Mr linuxy
LQ Newbie
 
Registered: Dec 2023
Posts: 1

Rep: Reputation: 0
Iodine dns tunneling not work


i test iodine dns tunneling on my server but i have problem ، i've run command both on my server and client side same as their github document , i can successfully connect to my server from client but i can not ping or ssh to my interval ip that i set as dns0 in my server from clinent side ( for example 10.0.0.1 or any ip that i set for my iodined server ) the connection has been successful but i can not ping or ssh

Any one can help me with this ?


I test many times and i check my firewall for open 53 port udp/tcp and my network card but i have problem , the connection between server and client are successful but i can not ping
 
Old 12-28-2023, 05:51 PM   #2
slac-in-the-box
Member
 
Registered: Mar 2010
Location: oregon
Distribution: slackware64-15.0 / slarm64-current
Posts: 780
Blog Entries: 1

Rep: Reputation: 432Reputation: 432Reputation: 432Reputation: 432Reputation: 432
hello mr. linuxy, and welcome to lq... I had never heard of iodine, and thank you for bringing it to my attention, however, I don't know anything about it... I do know a little bit about linux networking, and can comment that though dns works standard on port 53, ping is not even udp or tcp, but rather it is its own protocol: internet control messaging protocol, and needs as well to be allowed in a firewall to operate--so with a standard linux iptables firewall, you would allow it with a command like

Code:
iptables -A icmp_packets -p ICMP -s 0/0 --icmp-type 8 -j ACCEPT
you could change the 0/0 to the netmask of ip addresses you want to allow pinging from... likewise ssh is normally operating on tcp port 22, however, in many distributions of linux, the port sshd listens on is configured to a non-standard port in the file /etc/ssh/sshd_config. Also, in the same file, sometimes user/password type of ssh login is disabled, in favor of certificate login using ssl key pairs... but regardless of whether its certificate login, user/password login, or both, the port defined for sshd to listen on, must also be enabled in the firewall, basically the same way that port 53 is enabled.

hope you find your solution...
 
Old 01-11-2024, 02:24 AM   #3
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 2,153

Rep: Reputation: 449Reputation: 449Reputation: 449Reputation: 449Reputation: 449
Quote:
I test many times and i check my firewall for open 53 port udp/tcp and my network card but i have problem , the connection between server and client are successful but i can not ping
Is ping or ICMP protocol allowed in your firewall?

Or see this one:

Quote:
The client's tunnel interface will get an IP close to the server's (in this case 192.168.99.2 or .3 etc.) and a suitable MTU. Enter the same password as on the server either as commandline option or after the client has started. Using the -f option will keep the iodine client running in the foreground.

Resulting commandline in this example situation, adding -r forces DNS tunneling even if raw UDP tunneling would be possible:

./iodine -f -P secretpassword t1.mydomain.com

From either side, you should now be able to ping the IP address on the other end of the tunnel. In this case, ping 192.168.99.1 from the iodine client, and 192.168.99.2 from the iodine server.
From this link: https://github.com/yarrick/iodine

Last edited by JJJCR; 01-11-2024 at 02:25 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] SSH tunneling work with Firefox but not Chromium hack3rcon Linux - Desktop 1 10-09-2015 06:53 AM
need help to build dns tunneling or icmp heart12341 Linux - Networking 1 01-02-2011 04:54 PM
Tunneling DNS through SSH problem. Pawlu Linux - Networking 7 05-28-2009 04:16 PM
HTTP Tunneling or VPN Tunneling Teomari Linux - Networking 3 04-09-2007 07:52 PM
incoming tunneling or tunneling via a 3rd party? JustinHoMi Linux - Networking 1 04-15-2005 01:57 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration