FTP setup and I dont know what to do ?
-
Hello.
I have an FTP running on my computer, my firewall is PfSense 1.2.1.
I really want to know how to setup my firewall to allow only the IP adresses that i want throgh to my FTP.
Example: My Friends ip adress I know and I know my own internal Ip but how do I setup pfsense to sent him the FTP welcome screen and everyone else who dont have access nothing.
Hope someone understand my question and can help me :D
//Zhooter
-
TCP 123.123.123.123 * 192.168.55.200 21 * 21
external ipcouldent you just add the source ip with the ip you want to being able accessing your ftp server(my example 123.123.123.123)
or better yet set up some alias.
/F
-
Yeah Maybe.
But where do I do that ?
Pfsense is not my strong site yet :)
-
I Really dont know how Aliases works and how i should do it in pfsense ???
-
start with adding your friends ip as "source" on the rule that allows traffic into your ftp
then he should be the only one with access to your ftp
then about alias
go to firewall -> alias
and look at it..pretty straigh forward/F
-
start with adding your friends ip as "source" on the rule that allows traffic into your ftp
then he should be the only one with access to your ftp
then about alias
go to firewall -> alias
and look at it..pretty straigh forward/F
Ahh okay.. But how does alias work ? About the rules i tryed that yesterday, but that only works with one ip. I have 2 or 3 ip adresses i want to add so they have acces :)
-
with an alias you essentially create a group of hosts and bind them to an easy to remember name, say for example: "FTP friends" and then add all the IP addresses you want to have access to your FTP. Then when you create your NAT to your ftp, you specify the source as your newly created "FTP friends" alias. So in the future if one of those ip addresses change, you just have to modify the alias and not the NAT rules, saving a little time.