ProxySpace

RIPE NCC · updated daily

San Marino IP ranges

25 IPv4 blocks with 40,960 addresses and 14 IPv6 prefixes, registered to San Marino, the 186th largest IPv4 holding of 239 countries.

IPv4 addresses

41K

IPv4 blocks

25

IPv6 prefixes

14

Share of all IPv4

<0.01%

Format

SM.txt

Largest networks in San Marino

Autonomous systems by the IPv4 addresses they announce inside these ranges.

NetworkASNIPv4 addresses
Telecom Italia San Marino S.p.AAS1543320,224
Passepartout s.p.a.AS397597,424
Abavia S.r.l.AS483453,072
Telenet S.r.l.AS1968743,072
S.P.A. Societa' Servizi Informatici Sammarinesi - S.S.I.S.AS344681,024
Semplify SrlAS1993251,024
Bluindaco S.R.L.AS2018521,024
INFRASTRUCTURE ITALIA COLO S.R.L.AS2032011,024
Amazon.com, Inc.AS16509768
AZIENDA AUTONOMA DI STATO PER I SERVIZI PUBBLICIAS212841256

ASN data: IP Geolocation by DB-IP (CC BY 4.0).

Largest IPv4 blocks

The biggest single block is 89.186.32.0/19.

BlockAddressesAllocated
89.186.32.0/198,1922006-04-18
194.183.64.0/198,1921995-07-12
77.242.208.0/204,0962007-03-05
31.193.32.0/212,0482011-04-26
109.233.80.0/212,0482009-12-16
109.235.104.0/212,0482010-01-26
94.232.112.0/212,0482008-11-13
45.65.80.0/221,0242018-11-13
85.155.144.0/221,0242004-11-05
185.21.116.0/221,0242013-03-14
185.45.40.0/221,0242014-01-15
185.45.68.0/221,0242014-01-16
185.62.32.0/221,0242014-06-26
185.86.60.0/221,0242015-01-30
185.146.128.0/221,0242016-04-08

Allocations per year

IPv4 addresses assigned to networks in San Marino each year, by registration date.

1995: 8,192 addresses. 8.2K 1996: 0 addresses. 1997: 0 addresses. 1998: 0 addresses. 1999: 0 addresses. 2000: 0 addresses. 2001: 0 addresses. 2002: 0 addresses. 2003: 0 addresses. 2004: 1,024 addresses. 2005: 0 addresses. 2006: 8,192 addresses. 2007: 4,096 addresses. 2008: 2,048 addresses. 2009: 2,048 addresses. 2010: 2,048 addresses. 2011: 2,560 addresses. 2012: 256 addresses. 2013: 1,024 addresses. 2014: 3,072 addresses. 2015: 1,280 addresses. 2016: 2,048 addresses. 2017: 0 addresses. 2018: 2,048 addresses. 2019: 0 addresses. 2020: 512 addresses. 2021: 0 addresses. 2022: 0 addresses. 2023: 0 addresses. 2024: 0 addresses. 2025: 512 addresses. 1995 2025

Most recent allocations

BlockAddressesAllocated
185.125.240.0/242562025-01-15
5.183.163.0/242562025-01-14
185.21.132.0/242562020-07-20
185.159.90.0/242562020-04-07
192.145.48.0/221,0242018-12-07
45.65.80.0/221,0242018-11-13
185.168.168.0/221,0242016-09-19
185.146.128.0/221,0242016-04-08
185.124.71.0/242562015-10-30
185.86.60.0/221,0242015-01-30

Use the list

$curl -s https://proxyspace.pro/Ranges/SM.txt -o SM.txt
# Block San Marino with ipset + iptables
ipset create sm4 hash:net
while read net; do ipset add sm4 "$net"; done < SM.txt
iptables -I INPUT -m set --match-set sm4 src -j DROP

# Is an address in San Marino? (Python)
import ipaddress
nets = [ipaddress.ip_network(l) for l in open("SM.txt") if l.strip()]
print(any(ipaddress.ip_address("5.183.163.1") in n for n in nets))

San Marino IP ranges: questions

How many IP addresses does San Marino have?

San Marino holds 40,960 IPv4 addresses in 25 blocks and 14 IPv6 prefixes, the 186th largest IPv4 holding of 239 countries (under 0.01% of all allocated IPv4). Compare it with other countries on the IP ranges by country page.

Which networks use the most San Marino IP addresses?

Telecom Italia San Marino S.p.A (AS15433, 20.2K addresses), Passepartout s.p.a. (AS39759, 7.4K addresses) and Abavia S.r.l. (AS48345, 3.1K addresses). Look up any single address with the IP lookup tool.

How do I block all San Marino IP addresses?

Download the list above in the format of your firewall: iptables/ipset, nginx, Apache, ufw or MikroTik. Turn on "aggregate" to merge adjacent blocks into fewer rules. The raw list is at /Ranges/SM.txt, one CIDR per line. To inspect a single block use the CIDR calculator.

Who assigns IP addresses in San Marino?

RIPE NCC, the regional internet registry for Europe, the Middle East and Central Asia. ProxySpace downloads its delegation file every day; the most recent San Marino allocation in it is 2025-01-15.

Are there free proxies in San Marino?

Not in the current lists. They change every 20 minutes; the proxies by country page shows which countries have proxies right now.