Jump to content
Hak5 Forums
CaptainCaveman

No Special - SSH Just Not Working From Ethernet

Recommended Posts

Greetings!

Purchased the LanTurtle and was excited to set it up and do some interesting things with it.  It took me a while, but I found a setting to allow dhcp on the ethernet side to work.  I've been struggling ever since to form a simple ssh connection to the eth1 side.  I can connect via the local network no problem.  I also, for grins but not expecting success to do the autossh but that didn't work either.  The error from both of them is ssh: connect to host w.x.y.z port 22 connection refused.  I've verified that sshd appears to be functioning on the turtle.  Again - I set up ssh to work on the USB/local side with no problem.  I used ssh-copy-id and config to help connect quickly . . .  but ONLY on the 172.16.84.1.  I do have eth0 and eth1 active. eth1 does have an active good ip address that can be pinged from the outside world - but no ssh.  Any suggestions?  

 

CaptainCaveman

 

 

Share this post


Link to post
Share on other sites

It took a while, but it seems like the iptables is set up by default to not allow eth1 access from the 'outside world'.  Duh what?  The only way to get simple inbound ssh to work on my turtle is to execute the command "/usr/sbin/iptables -D zone_wan_src_REJECT 1" on the command line.  I'm now trying to figure out where I can put the command so that it is executed on every reboot/power cycle.  So far no luck . . .  I'm looking at /etc/init.d/dhcp_detect  . . . seems like a great place - but no effect

 

Any advice folks?  

 

Why on earth would iptables rules prevent inbound ssh connection on the ethernet?  Seems to completely screw up the device . . .  was this 'feature' part of the update I received?  Whats the deal?

 

CaptainCaveman

Share this post


Link to post
Share on other sites

Actually I put this in the /etc/firewall.user config:

iptables -D zone_wan_src_REJECT 1
iptables -D zone_wan_input 5
 

iptables -D zone_wan_src_REJECT 1
iptables -D zone_wan_input 5

 

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×