Friday, October 11, 2013

Server Access from Internet Red hat Linux

www.unixbabuforum.inI have a Redhat Server with two network cards (one for local access and one for the internet). I know both work properly through testing. I have two problems with the internet card: 

1. I cannot make an SSH connection to the server from my laptop 
2. I cannot make a secure (HTTPS) link to a tomcat website connection on the server. 

There is a firewall and SSH connections HHTPS connections are set as trusted. 

When I attempt a traceroute from the laptop the last entry shows my main server and not the linux server

www.unixbabuforum.inFrom Server side(Redhat), execute "nmap 127.0.0.1" 
is port 22 open ? 
is port 443 open ? 
execute "iptables -L" and look at to the results.. 
try to execute "ssh 127.0.0.1" from server.. 
can you connect to server ? 
if yes.. 
check firewall and IP class.... 
if not 
try to start "sshd" service....
www.unixbabuforum.in install vnc server on your red hat box and vnc client on your laptop.

www.unixbabuforum.in1)setup ssh on the linux box for your respected user account on your laptop 
2) Allow incoming TCP port 22 (ssh) traffic on the linux box: 
/sbin/iptables -A INPUT -p tcp -s 192.168.1.100 --dport 22 -m state --state NEW -j ACCEPT 
3)Install ssh on your laptop 
4)Set up iprouting on your router if you want to access your box outside of your internal network.Refer to your routers documentation

0 comments:

Post a Comment

 
Design by BABU | Dedicated to grandfather | welcome to BABU-UNIX-FORUM