Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
linux Apf firewall configuration,port can not open.Which configuration friends gave me a case or note of the reference。how to open the apf through pptpd(vpn)?How do I set up nat rules?
IG_TCP_CPORTS="21,22,25,47,53,80,161,443,110,143,6000_7000,1194,1723,63000,1863,1864"
IG_UDP_CPORTS="20,21,53,1863"
# Common inbound (ingress) TCP ports
IG_TCP_CPORTS="63000,47,1863,1864"
# Common outbound (egress) TCP ports
EG_TCP_CPORTS="21,25,80,443,43,47,1194,161,1723,63000,1863,1864"
# Common outbound (egress) UDP ports
EG_UDP_CPORTS="20,21,53,1863"
vi allow_hosts.rules :
out:d=1863:d=61.191.30.34
out:d=1194:d=61.191.30.34
out:d=1723:d=61.191.30.34
d=1863:s=61.191.30.34
d=1194:s=61.191.30.34
vi deny_hosts.rules :
61.191.30.34
I am here to open the 1863 port, can not be opened. ip network deny the public can not be deny.
Can you give me a reference to configure the case to me it? Apf installed I could not have started the process. I suspect this is the reason. thank you!
Can you give me a reference to configure the case to me it? Apf installed I could not have started the process. I suspect this is the reason. thank you!
You seem to have several posts, all of them concern apf and none of them are at all easy to understand. Moderators have been closing off posts where they obviously are cross-posts (repeated posts of essentially the same subject) as those are not allowed on this site. Please read the Linux Questions rules, if you are in any doubt about what is allowed and what is not allowed.
My suggestion is that you try to make it clear in exactly one thread what is the problem and preferably what you have tried and what happened when you tried it.
I don't know apf, but presumably it is some kind of front-end to iptables/netfilter (most things are), so it might help if you posted the rule set that it has generated.
I think you are saying that you have it installed but not configured. If this is true, is this because you have no idea how to configure it, or have you tried something and it didn't work (if this is true, please post the exact error message)?
When you write
Quote:
Apf installed I could not have started the process. I suspect this is the reason. thank you!
it is very unclear to me what you mean. "I could not have started the process" Do you mean the process of installation or do you believe you could not start the ipf process when your computer starts up (why do you believe this? have you checked the running processes and did you bear in mind that what you are looking for is probably not called anything to do with apf? or do you just mean that it can't have happened because you don't know how to do it?) You also say "I suspect this is the reason." The reason for what??? You haven't said what is happening that you want to change!
Please help someone to help you as you are in danger of being much more trouble to help than anyone can cope with.
PS: and please do not start any new threads on this subject.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.