Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
i have a linux server runnig oracle applications.
i need to access this server from putty using ssh through internet.
i did by registering my static ip with the dnydns.org and i am able to connect to the server.
but now there is no security to authenticate any user as any one knowing the password can login to it.
i thought of configuring the firewall of linux server but the client ip`s are not static and they change continiously.
so thought of keeping one more pc between the server and the router which will do the work of authenticating. but i am confuse as how to configure it to allow the packets coming from the internet after authenticating and to by pass the packets generated from internal LAN?
i have heared abut freeradius package but i am not sure will it work in my case?
If you're accessing it from the one location or from a laptop, you could set up key based authentication then disable password auth on the target sshd :
Code:
PasswordAuthentication no
PubkeyAuthentication yes
2-factor authentication is basically requiring 'something you have' and 'something you know' to authenticate. It is commonly implemented by using a one-time-password generating token or fob and combining the number it provides with a pin that you remember.
In this case I'd suggest that it could be overkill for your needs. Probably the simplest way to secure your server would be to enforce password complexity, password aging and password history. You will need to educate the users of the system and emphasise the importance of not writing down their passwords etc.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.