This shows you the differences between two versions of the page.
Previous revision | |||
— | how_to:configure_a_router_to_allow_incoming_smtp [2018/11/14 10:45] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Accepting Incoming SMTP through a router====== | ||
+ | If your ISP is providing you with an SMTP mail feed (incoming SMTP) and you have VPOP3 connecting to the ISP through a router then you will probably need to modify the router configuration to allow this. | ||
+ | Most routers' | ||
+ | |||
+ | Your ISP should be able to tell you what IP address they have assigned as the address of your mail server, and you should make sure that this is the address you use. | ||
+ | |||
+ | Because there are so many different sorts of router available and many different ways of configuring them we cannot give the details of how this should be done. You should contact the suppliers of the router who should be able to do this. | ||
+ | |||
+ | Note that most routers will not allow this behaviour (incoming SMTP) if you are using an ' | ||
+ | |||
+ | =====Examples for CISCO IOS 12 software===== | ||
+ | ====Without NAT==== | ||
+ | If the ISP have specified that your mail server should be on IP address '' | ||
+ | |||
+ | interface BRI0 | ||
+ | ip access-group 110 in | ||
+ | ! | ||
+ | access-list 110 permit tcp any host 123.123.123.123 eq smtp | ||
+ | |||
+ | in your configuration. | ||
+ | |||
+ | ====With NAT==== | ||
+ | If the ISP have specified that your mail server should be on IP address '' | ||
+ | |||
+ | interface BRI0 | ||
+ | ip access-group 110 in | ||
+ | ! | ||
+ | ip nat inside source static 192.168.1.1 123.123.123.123 | ||
+ | access-list 110 permit tcp any host 123.123.123.123 eq smtp | ||
+ | |||
+ | in your configuration. | ||
+ | |||
+ | {{tag> |